Re:I Have a Dirty Secret. I’m a Software Craftsman
by bazoom42 on Sunday April 23, 2023 @03:21PM
(#35679579)
Agree - if a function is otherwise cohesive and doesnt mix independent concerns, I prefer one 100 line fuction to 25 4-line functions.
Splitting functions is tempting because it makes each individual function seem simper, but the higher cost in complexity and maintainability is not as directly visible.
Splitting functions is tempting because it makes each individual function seem simper, but the higher cost in complexity and maintainability is not as directly visible.