this post was submitted on 21 Jan 2024
3 points (100.0% liked)

Programmer Humor

32410 readers
1 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
 

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.

top 7 comments
sorted by: hot top controversial new old
[–] Enkers@sh.itjust.works 1 points 2 years ago* (last edited 2 years ago) (2 children)

The tree of life is a git repository. I'm personally partial to the giraffe release.

[–] kubica@kbin.social 1 points 2 years ago

class Giraffe extends Neck {...} or something like that

[–] Turun@feddit.de 1 points 2 years ago (1 children)

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 1 points 2 years ago* (last edited 2 years 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.

[–] DontRedditMyLemmy@lemmy.world 0 points 2 years ago (2 children)

Now I want to know what "tech debt" means. Could someone please Google for me?

[–] lolcatnip@reddthat.com 1 points 2 years ago* (last edited 2 years 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.

[–] Ephera@lemmy.ml 1 points 2 years 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.