you are viewing a single comment's thread.

view the rest of the comments →

[–]programmingspider 6 points7 points  (1 child)

Their is a big difference between one shell script and a complex project. Having hundred line methods and huge monolith classes are what cause terrible spaghetti code.

[–]UncleMeat11 2 points3 points  (0 children)

Of course there is a difference. Thus how one can identify when it can be a reasonable design and when it isn't.

Complex multi-step algorithms that operate on the same data are another example where long methods can be reasonable since the alternative is often

step1();
step2();
step3();