“It’s just easier to type” and other lies you believe

  • scurry@lemmy.world
    link
    fedilink
    arrow-up
    23
    ·
    1 year ago

    Yes. Memory and storage were at a very high premium until the 1990s, and when C was first being developed, it wasn’t uncommon for computers to output to printers (that’s why print() and co are named what they are), so every character was at a premium. In the latter case, you were literally paying in ink and paper by the character. These contributed to this convention that we’re still stuck with today in C.

    • zqwzzle@lemmy.ca
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 year ago

      IIRC older DOS versions were also limited to 8.3 filenames, so even filenames had a max limit of 8 characters + 3 extension. May it was a limitation of the file system, can’t quite remember.

    • QuazarOmega@lemy.lol
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      Wait, but they didn’t print out the source code right? Or did they use teletypes to develop?

        • QuazarOmega@lemy.lol
          link
          fedilink
          arrow-up
          4
          ·
          1 year ago

          Oh, that makes a lot of sense then.

          After all, it is the standard text editor

          spoiler

          uff, doesn’t feel right if it isn’t KasaneTeto saying this :/

    • words_number@programming.dev
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      1 year ago

      Thanks for the insight! I think this kind of convention that once made some sense, is now exclusively harmful, but is still followed meticulously, is often called “tradition” and is one of the high speed engines that let humanity drive towards extinction.