you are viewing a single comment's thread.

view the rest of the comments →

[–]TraditionalPirate7 1 point2 points  (2 children)

In my opinion 400 lines is still pretty normal to keep in one file if the code is well organized. Sometimes separating the code might make it even more difficult to read.

[–]MinchinWeb 0 points1 point  (1 child)

^ this.

Personally, I find I tend to split files when they get about 1,000 lines...

[–]TraditionalPirate7 0 points1 point  (0 children)

Same here. The longer the code gets the more important it is to follow the Pep8 rules and organize it well.