4 ms·
I only agree with this in the case of pure functions. However, when your function has a side effect (quite usual in C++ methods for example) then all readabilit
by yoz-y 10y ago
I only agree with this in the case of pure functions. However, when your function has a side effect (quite usual in C++ methods for example) then all readability gains are lost.
I much prefer inlined code that reads from top to bottom, rather to have to jump all over the place into single purpose functions.
- sb8244 10y agoI like this. I never really thought about it this way, but I'm much more okay with long functional methods rather than long mutating method