• gingersight@programming.dev
    link
    fedilink
    English
    arrow-up
    9
    ·
    2 hours ago

    Oh, it’s only the files that have over 2k lines of code? Hell, I’ll take that over what I’m dealing with now. I’ve got multiple FUNCTIONS that are over 2k lines. >:(

    • ripcord@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      2 hours ago

      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.