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

Programmer Humor

19623 readers
2 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
[–] Blackmist 25 points 9 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.

[–] nexussapphire@lemm.ee 8 points 9 months ago

Me making my first calculator in c.

[–] labsin@sh.itjust.works 8 points 9 months ago

IMO they should just remove the equality operator on floats.

[–] dylanTheDeveloper@lemmy.world 6 points 9 months ago

what if i add more =

[–] CanadaPlus@lemmy.sdf.org 5 points 9 months ago

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