3 ms·
I think strict adherence to such rules is silly. Some 20 lines functions are massively more complex than some 120 line functions. If the computation is simple
by tasty_freeze 6y ago
I think strict adherence to such rules is silly. Some 20 lines functions are massively more complex than some 120 line functions.
If the computation is simple and linear, then long functions are fine. If there are nested loops and if statements and other forms of flow control and deep nesting, then long functions are painful.