you are viewing a single comment's thread
view the rest of the comments
[–] 14 points 11 months ago (4 children)

Yeah, I dont see a big problem with files over 2000 lines in some cases, as long as things remain well writrej, organized, abstractd.

One piece of garbage that I'll never touch again hae most functions this size. One was 50,000 lines! Hundreds.of lines of if/else, half of the functions passed the same 60 arguments because he didn't understand classes or even dictionaries, etc etc. And was used heavily.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 1 point 11 months ago (1 child)

    Yeah, honestly overly splitting things up is worse sometimes, that's how you end up in Java land. Any time you want to grok a specific function you end up down 30 abstracted code paths. Essentially need a compiler to unroll it all to actually see what it's doing.

  • source
  • parent
  • hideshow 1 child comment