746
Colors, localized. (discuss.tchncs.de)
you are viewing a single comment's thread
view the rest of the comments
[-] ojmcelderry@lemmy.one 5 points 1 year ago

Yeah. Honestly, I'm still not sure I understand it. ELI5?

[-] MouseWithBeer@iusearchlinux.fyi 10 points 1 year ago

The American is how it is supposed to be.

The British one has the "color" changed changed to "colour" due to British spelling of color.

The Spanish one has an upside down semi colon because in Spanish you write questions like this: ¿Is this an example question?

The French one is because the French number system makes absolutely no sense and to say 99 you have to say quatre-vingt-dix-neuf (meaning 4 x 20 + 19).

I hope this helps somehow.

[-] nintendiator@feddit.cl 5 points 1 year ago

The American is how it is supposed to be.

The British one has the “color” changed

[citation needed]

[-] MouseWithBeer@iusearchlinux.fyi 2 points 1 year ago

I mean in code. Not sure how many programming languages are gonna accept "colour". Or maybe they do and I am wrong, tbf I never thought about it till now.

When it actually comes to the English language that's a different story.

[-] nintendiator@feddit.cl 1 points 1 year ago

I don't know any language where "colo[u]r" is a keyword, or a lexer-level entity tbh, so I'm not sure there would be any difference. Anywhere you can name a variable "color", you can name it "colour". C++ allows you to explicitly make one an alias to the other, for example.

That said, I've seen a number of BBCode parsers need to take both "[color="] and "[colour=]". Really, we need code and programming languages in general to be less American. It's 2023 already and in many programming languages I have to name my accounting variables "ano" (butthole) instead of "año" (year).

[-] AlternActive@lemmy.world 9 points 1 year ago* (last edited 1 year ago)

French being french. They have no word for ninety for example, it's four-twenty-ten. Not bullshitting you.

As in Four (times) twenty (plus) 10.

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

Programmer Humor

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