Re:Modeling chopping onions: The importance of mise en place
by klyrs on Monday February 28, 2022 @02:09PM
(#30503646)
I have a strong desire to refactor code as I read it. I tend to avoid this behavior because (a) most codebases are in need of so much cleanup, and (b) I like to keep commits small and topical. Perhaps I should re-evaluate how I weight these factors.
Cleaning as you go also reduces variability and total time spent. Cleaning naturally consumes short spans of otherwise-useless idle time between tasks. It also enables pipelining of multiple jobs. I also prefer to clean up before eating, and that usually takes just enough time for the meal to cool down to the right temperature if I was cleaning as I go.