3 ms·
You shouldn't need to keep a mental stack since as you say the small functions are aptly named. You just check once whether the function really does what it su
by aerique 17y ago
You shouldn't need to keep a mental stack since as you say the small functions are aptly named. You just check once whether the function really does what it suggests and then you don't have to throw it on your stack the next time.
- InclinedPlane 17y agoExactly. Naming and proper design is very important. Tracking state changes through numerous "DoStuff" and "HandleThings" methods definitely represents additional intellectual overhead.