3 ms·
> The point is that if I blindly break a larger functions by functionality, I still have to understand the deeper functionality. So, I can't just skip when I'm
by UK-Al05 6y ago
> The point is that if I blindly break a larger functions by functionality, I still have to understand the deeper functionality. So, I can't just skip when I'm debugging or deeply reviewing/inspecting the code, or doing a rewrite or trying to understand it.
That's exactly what a well abstracted function should let you do.
It only comes difficult with global state, and unexpected side effects.
You should break up functions by intent.