this post was submitted on 26 Feb 2024
745 points (95.7% liked)

Programmer Humor

19557 readers
484 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@feddit.uk 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.

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

Me making my first calculator in c.

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

IMO they should just remove the equality operator on floats.

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

what if i add more =

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

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