this post was submitted on 15 Nov 2024
290 points (93.4% liked)

Programmer Humor

32503 readers
468 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] fishsayhelo@lemmy.ml 5 points 3 days ago (2 children)

in which "other languages" is it so very hard?

[–] lengau@midwest.social 4 points 3 days ago (1 children)

In Python it's really hard!

def __eq__(self, other):
    ...

How do you even write those subscripted hyphens???

[–] zagaberoo@beehaw.org 2 points 3 days ago

If you've got a complex and potentially nested object, what does the body of this simple function look like? That's what they mean.