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

Programmer Humor

32576 readers
399 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
[–] kubica@kbin.social 46 points 10 months ago (1 children)

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

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

That’s not how extends works 😂 you silly goose

[–] Enkers@sh.itjust.works 24 points 10 months ago* (last edited 10 months 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 10 months ago

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

[–] kubica@kbin.social 12 points 10 months ago

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

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

class Goose extends Silly