Re:Push ifs up and fors down
by sharno on Thursday November 16, 2023 @11:45AM
(#38291821)
What I noticed too for pushing the for loops down is that more functions start taking list of things instead of one thing. This makes it easier down the path when a requirement change and we need to handle multiple things instead of one thing with the same code logic. It decreases overall change in the codebase.
[ Parent
| on HN ]
There are no comments on this comment yet.