• xthexder@l.sw0.com
    link
    fedilink
    arrow-up
    43
    ·
    24 hours ago

    A little off on the lines of code… it’s only around 20 million. I’d be a little worried if there was billions of lines of code, it would be unmaintainable slop.

    • Pup Biru@aussie.zone
      link
      fedilink
      English
      arrow-up
      6
      ·
      16 hours ago

      LOC doesn’t inherently make things unmaintainable slop, as long as you have strong abstractions (which Linux certainly does)

      one could argue that most Linux distros have billions to trillions of LOC and their abstraction is packages, which are kinda a level of abstraction higher than libraries, which are just a level of abstraction higher than a folder of util functions

      things being “not my code” doesn’t mean it’s not part of your system

      • xthexder@l.sw0.com
        link
        fedilink
        arrow-up
        1
        ·
        4 hours ago

        While you’re correct in a general sense, the linux kernel is what I was referring to, not the whole ecosystem of linux programs and repositories.

        If Hello World can be written in 1 line and someone comes along and presents a version written in 100-1000s of lines without any new features, I’m going to argue it’s unmaintainable slop.

    • altphoto@lemmy.today
      link
      fedilink
      arrow-up
      2
      ·
      18 hours ago

      Hey! I just finished beta release of my brand new AI developed word processor! It’s a single python script with just under 1 million lines of code! Isn’t that great?!!! 😸