this post was submitted on 15 Nov 2024
282 points (93.3% liked)

Programmer Humor

32483 readers
224 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 1 day ago (1 children)

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

[–] lengau@midwest.social 3 points 19 hours 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 17 hours 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.