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

Programmer Humor

19463 readers
930 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.

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

IMO they should just remove the equality operator on floats.

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

Me making my first calculator in c.

[–] 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