746
Colors, localized. (discuss.tchncs.de)
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)

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)

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.

this post was submitted on 03 Jul 2023
746 points (97.0% liked)

Programmer Humor

19503 readers
366 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