this post was submitted on 21 Jan 2024
525 points (97.8% liked)

Programmer Humor

36950 readers
333 users here now

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

Rules:

founded 5 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.

you are viewing a single comment's thread
view the rest of the comments
[–] Enkers@sh.itjust.works 62 points 1 year ago* (last edited 1 year ago) (3 children)

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

[–] kubica@kbin.social 46 points 1 year ago (1 children)

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

[–] randomaccount43543@lemmy.world 21 points 1 year ago* (last edited 1 year ago) (3 children)

That’s not how extends works 😂 you silly goose

[–] Enkers@sh.itjust.works 24 points 1 year ago* (last edited 1 year ago) (1 children)

What, you thought a giraffe was some sort of animal, and not a type of neck? Didn't you know that snakes, geese, and giraffes all evolved from the common neck: C. neckens?

[–] schnurrito@discuss.tchncs.de 10 points 1 year ago

That doesn't sound right, but I don't know enough about biology to dispute it

[–] kubica@kbin.social 12 points 1 year ago

It's free style, another alternative if you prefer class Giraffe extends Animal { this.neck = 10*super.neck; }

[–] AlolanYoda@mander.xyz 12 points 1 year ago* (last edited 1 year ago)

class Goose extends Silly

[–] Turun@feddit.de 29 points 1 year 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 19 points 1 year ago* (last edited 1 year 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.