this post was submitted on 03 Jul 2023
944 points (97.2% liked)

Programmer Humor

19463 readers
17 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
[–] alr@programming.dev 4 points 1 year ago* (last edited 1 year ago) (2 children)

If you think French is bad...

// Danish
farve = "#(9+½+5)FFAA"
[–] rclkrtrzckr@discuss.tchncs.de 1 points 1 year ago* (last edited 1 year ago) (1 children)

Please elaborate. Any background on this?

[–] alr@programming.dev 6 points 1 year ago* (last edited 1 year ago)

The Danish word for 99 is nioghalvfems, which literally means "nine and half five." Which you could be forgiven for assuming meant 11½. The trick is that a) "half five" actually means 4½, as in half less than five, and b) it's implied that you're supposed to multiply the second part by 20. So the proper math is 9 + (-½ + 5) * 20 = 99.