this post was submitted on 18 May 2024
363 points (97.6% liked)

Programmer Humor

19585 readers
575 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
 

Good price.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 5 months ago
[–] [email protected] 3 points 6 months ago

cost = "arm" + "leg";

[–] [email protected] 9 points 6 months ago (1 children)

I like how the code adds a 0 at the start.

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

The code probably checks if the following number is greater than 10 (which fails for NaN) and otherwise adds a 0 in front.

[–] [email protected] 20 points 6 months ago (1 children)

dirty onanists spilling their seed

[–] [email protected] 3 points 6 months ago (1 children)

Lennin died, with him died lenninism. Stalin died, with him died stalinism. Grandpa Onan, don't die!

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

What is spilled cannot die

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

lidl quality

[–] [email protected] 55 points 6 months ago (1 children)

You ever have one of those moments when you just put 2 and 2 together, and also that you should have had that realization many years ago?

I just realized what NaN stands for...

This must be what people who get told "you can just wait for the shower water to warm up before hopping in" feel like.

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

The elephant and rope parable rings its bell of sound morals!

Not so much the realizing what NaN means; that's more relevant to that XKCD which I probably don't need to describe here.

[–] [email protected] 4 points 6 months ago
load more comments
view more: next ›