3 ms·
I guess I don't really see a reason to have a 1000 line of code function that's not broken down. Although I personally despise the massive call graphs, my rule
by endymion-light 1y ago
I guess I don't really see a reason to have a 1000 line of code function that's not broken down.
Although I personally despise the massive call graphs, my rule of thumb tends to be if I spend over 10 minutes trying to hold all the logic in my head, something is wrong.
Especially with imperative business logic - surely it makes so much more sense to break it down into functions. If you're on call at 2am trying to solve a function with imeprative business logic that someone else has written and has over 1000 lines, you're going to hate yourself, and your coworker.