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

Programmer Humor

32472 readers
600 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
[–] [email protected] 46 points 9 months ago (1 children)

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

[–] [email protected] 21 points 9 months ago* (last edited 9 months ago) (3 children)

That’s not how extends works 😂 you silly goose

[–] [email protected] 24 points 9 months ago* (last edited 9 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?

[–] [email protected] 10 points 9 months ago

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

[–] [email protected] 12 points 9 months ago* (last edited 9 months ago)

class Goose extends Silly

[–] [email protected] 12 points 9 months ago

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