• brokenneon@kbin.social
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I always say I write throwaway code that never dies. I shutter to think how many pieces of code I wrote 10+ years ago are still buried deep in systems running today. Shutter.

  • Emi@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I have a mental image of 50+ lines that could be replaced with 15 if someone just used a loop.

  • celipon@kbin.social
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    It is always the worst code you wrote that survives. There’s a terrible university dorm management software I wrote eight years ago as a student. They still use it. The crazy complicated test framework wrappers for some hardware I wrote five years ago. They still use it. The godawful and crazy complicated communication protocol I whipped up four years ago, still used in medical equipment today.

    • masterspace@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      The crappy scripts that I wrote while teaching myself to code at an electrical engineering / architecture firm are used more often than the professional software I’ve built for FAANG and Fortune 500 companies since.

  • alp@kbin.social
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I really think that optimization courses should have a special lecture in the optimization of optimization…