3 ms·
I'm not disputing that a longer method is fine. But booleans going into a method makes it hard to tell what the method is doing. Every call needs to call expl
by segmondy 8y ago
I'm not disputing that a longer method is fine. But booleans going into a method makes it hard to tell what the method is doing. Every call needs to call explicitly what it needs. Every method needs to also tell exactly what it does. State is the enemy of understanding what code does, the deeper the state lies, the harder it is to unravel.