this post was submitted on 24 Mar 2025
43 points (97.8% liked)

Programmer Humor

22873 readers
702 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 2 years ago
MODERATORS
 

The post body:

[...] big refactoring project to replace the usage of double types with decimal types. Everything seemed to go well, at least until there was a network hiccup and the application couldn't connect to the database. Let's see if you can figure out what happened:

MessageBox.Show("Please decimal check the connection details. Also check firewall settings (port 1433) and network connectivity.");

What a clbuttic mistake.


I don't actually get the joke with clbuttic, though. πŸ€”

top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 22 points 1 month ago

Classic -> clbuttic

See also Scunthorpe problem

[–] [email protected] 16 points 1 month ago (2 children)

I can already see the 10,000 line PR touching 50 files and the sole review comment β€œπŸ‘β€

[–] [email protected] 4 points 1 month ago (1 children)

A long time ago I worked on a project which had all the user-facing text strings in their own separate file (for ease of translation). I didn't think much more of it at the time, but even if I was just rubber-stamping this PR then seeing that a code-only refactor was touching the strings file would raise an eyebrow.

[–] [email protected] 1 points 1 month ago

That's a good practice. Seems obvious now that you've mentioned it, actually, but I don't think I've ever done it. Except maybe incidentally when building an i18n table.

[–] [email protected] 2 points 1 month ago
[–] [email protected] 14 points 1 month ago (1 children)

Someone did s/double/decimal/g (find 'double', replace by 'decimal') on the whole project.

Please decimal check

lol

[–] [email protected] 2 points 1 month ago

This is why you manually check and confirm each replacement, as tedious as it is. πŸ˜”

[–] [email protected] 12 points 1 month ago* (last edited 1 month ago)

I don’t actually get the joke with clbuttic, though.

Replacing "ass" everywhere with "butt".

[–] [email protected] 5 points 1 month ago

This is weird... I had a dream last night where I was trying to decide whether to use float or BigDecimal (Java). Unfortunately, I don't remember the scenario or what I decided on.

I swear that not all my dreams are this mundane.

[–] [email protected] 5 points 1 month ago (2 children)

Wow, the daily WTF is still running? That's the biggest wtf for me. I was reading it near 2 decades ago.

[–] [email protected] 4 points 1 month ago* (last edited 1 month ago)

I have a pair of "WTF" coffee mugs I got from them probably 15 years ago, and still use regularly. Amazingly, for being free promo items, they are still in virtually perfect condition!

EDIT: it's this bad boy right here: https://thedailywtf.com/articles/announcement-get-the-mug

[–] [email protected] 2 points 1 month ago

I didn't realise they'd been around so long. An programmer mentioned the website on one of my podcasts as being a good example of learning from others' mistakes.

The RSS feed is very good, too. You get everything you need just from the description.