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

Programmer Humor

22472 readers
933 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. ๐Ÿค”

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 4 points 3 weeks 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 3 weeks 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.