this post was submitted on 13 Dec 2025
280 points (97.9% liked)

Programmer Humor

39911 readers
34 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
[–] ferric_carcinization@lemmy.ml 3 points 4 weeks ago

I don't know what I was thinking.

But, if you borrow C's semantics, you are allowed to "optimize" away side-effect-less loops, even if they would never terminate. But that would require the random method to be pure.