This looks generally good. But I wonder if there is a way to factor the assining/clearing sequence into little helpers instead of duplicating it?
This looks generally good. But I wonder if there is a way to factor the assining/clearing sequence into little helpers instead of duplicating it?