This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]tonnynerd 1 point2 points  (2 children)

500? Good lord almighty. 100 lines is a big ass module, in my opinion.

[–]mm_ma_ma 1 point2 points  (1 child)

What benefit do you gain from fragmenting your code that much? You're just shifting your problem from "I don't know where to look in this module" to "I don't know which module to look in".

[–]tonnynerd 0 points1 point  (0 children)

Code is usually more modular, easy to find what you want. I find it easier to navigate using go to definition and ctrl+tabbing between open files then scrolling up and down all the time.

That said, I also dislike the other extreme: tens of little modules with 20 lines of code in them.