this post was submitted on 26 Feb 2024
757 points (95.8% liked)

Programmer Humor

19488 readers
249 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 25 points 8 months ago (4 children)

I know this is in jest, but if 0.1+0.2!=0.3 hasn't caught you out at least once, then you haven't even done any programming.

[–] [email protected] 8 points 8 months ago

Me making my first calculator in c.

[–] [email protected] 8 points 8 months ago

IMO they should just remove the equality operator on floats.

[–] [email protected] 6 points 8 months ago

what if i add more =

[–] [email protected] 5 points 8 months ago

That should really be written as the gamma function, because factorial is only defined for members of Z. /s