this post was submitted on 07 Aug 2025
709 points (97.7% liked)

Programmer Humor

37713 readers
19 users here now

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

Rules:

founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Cevilia@lemmy.blahaj.zone 13 points 4 days ago (3 children)

Ah, Python. It might not be fast, but it gets it right in the end. :)

[–] barubary@infosec.exchange 7 points 4 days ago (1 children)
$ python3 -c 'f = (lambda x: x + 0.5 - 0.5); print(f(2**52))'  4503599627370495.5

#python

[–] Cevilia@lemmy.blahaj.zone 11 points 4 days ago

Ahh, contrived examples of floating point errors. I haven't seen those since I asked Javascript to add 0.1 and 0.2 :)

[–] MashedTech@lemmy.world 2 points 4 days ago (1 children)

Just wait till they get rid of GIL!

[–] Valmond@lemmy.world 1 points 4 days ago (1 children)

And get a whole bunch of multi threading horrors...

[–] MashedTech@lemmy.world 1 points 3 days ago (1 children)

Well... I'm sorry to tell you... But they're already working on it.

[–] Valmond@lemmy.world 1 points 2 days ago

Uh, it'll be like C++ but slow then ...