Hey bro, can I have some antibiotic resistance?

Sure bro, but remember that the heavy metal tolerance gene is a dependency.

Shit, I’m on python 2 but hmrA requires python 3.

    • Turun@feddit.de
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      The one with the 5m long nerve? Because it needs to loop around an artery near the heart, as that was the shortest way back when that nerve first developed. And now the source and destination are still close, but the heart moved. But no one has gotten around to make that legacy code more efficient.

      One of my favorites as well.

      • enkers@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        5 months ago

        It’s a feature, not a bug…

        OK, look, we tried refactoring, but everything broke. Just don’t touch it and it’ll be fine.

    • Ephera@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      Implementing a software feature takes a certain amount of time, and time translates pretty directly to money. Sometimes, you may need to meet a deadline or run out of budget, so you end up implementing the feature at a lower quality or without completing the usual checks or constructing it in such a way that nothing else can be built on top.

      This allows you to meet the time/money constraints, but it will come back to haunt you, either making the implementation of future features more costly, or requiring the mess you left behind to be cleaned up, before trying to build on top.
      As such, it feels a lot like you’re taking up ‘technical debt’, which you’ll have to pay for later.

    • lolcatnip@reddthat.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      5 months ago

      It’s mostly a software development term. Bugs are the most obvious kind of tech debt. They have to be fixed or a product will slowly become unusable over time, so when you release something with bugs you’re incurring “debt” they must be “paid” later by fixing them. A lot of tech debt also involves corner cutting and bad design decisions that are hard to explain briefly.

    • JATtho@sopuli.xyz
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      Technical debt means how much work it takes to update legacy solution to a modern solution. E.g. each time a new C++ standard is used, all code written with the old standard should be checked. The work time needed to do this is paying up the technical dept.

      Now, if you are lazy, and didn’t clean up the code, used the easy and sloppy solution, next time you have twice the work to be done. So the dept gets worse, if you do nothing.

  • JATtho@sopuli.xyz
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    I touched a piece code that was +10 years old, according to git. Should I be scared? Will my change it survive??