this post was submitted on 15 Nov 2024
177 points (100.0% liked)

Programmer Humor

854 readers
3 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 3 points 5 days ago (2 children)

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

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

In Python it's really hard!

def __eq__(self, other):
    ...

How do you even write those subscripted hyphens???

[–] zagaberoo 3 points 4 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.