this post was submitted on 15 Nov 2024
226 points (93.8% liked)

Programmer Humor

36916 readers
336 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 2 points 7 months ago (1 children)

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

[–] lengau@midwest.social 4 points 7 months ago (1 children)

In Python it's really hard!

def __eq__(self, other):
    ...

How do you even write those subscripted hyphens???

[–] zagaberoo@beehaw.org 0 points 7 months 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.