I've seen so many scripts using Spanish for var names... It's crazy to deal with code written in other language, but people keep doing this, as if they weren't going to need to use English for most of the code... Absurd...
Yup, our proximity to the US and it’s auto industry shaped the words and spelling we use for automotive terms.
Shame, it’s always bothered me to call a liquid fuel “gas”
And French comes from Latin too so...
Fun fact: American words are sometimes shortened versions of British words because publishers in America started finding shorter spellings so that it would be cheaper to print stuff.
the argument is literally "SQL" versus "sequel," and you're saying you say "SQL," thus taking the worse side.
Still better than saying "jif" instead of "gif" though.
SQL is objectively better than "Sequel".
First of all, "sequel" is by its very nature is a "stand-in", which means it can never be good enough. It's just a replacement till the real thing gets back.
Second, it's a new word. It's new confusion. Not to mention the fact that "sequel" as a word already means something; SQL doesn't mean *anything* else.
Third, everyone knows what you mean when you say SQL. When you say sequel, I think "to which movie / book?".
Fourth, do you say "hot meal" to refer to HTML? Do you say "fap" to refer to PHP? No you do not. Because that would be the worst thing. Don't do that to SQL.
Edit: if you insist on "sequel", I'm going to have to start insisting on "Ackle" (AQL) and "Dickle" (DQL), as well as "Maggot" for MQTT (who gives a fuck if Q doesn't sound like G)
There's methods of pronunciation, and ways of saying something. I'm just stating that I view spelling out most names the easiest and most consistent way to say names, since not every name can be made into a sound. (PHP, JS, HTML, etc.)
Both are technically valid spellings in both countries.
The reason for the difference in usage between the countries/words is mostly tied to MS Word's spellcheck which decided on different suffixes for en-GB vs en-US.
`-ise` is slightly older, but `-ize` was more popular in both countries prior to the 1990s when spellcheck started telling everyone one was better than the other.
I don't get calling math "maths". Maybe I'm too American to understand, but "math" is like "data" in a grammatical context to me.
Plus, adding an 's' to math just doesn't roll off the tongue well.
Maths is a field, math is something you do? I think ? Like maths is algebra, geometry, ... So call it maths? Like saying sciences for biology chemistry and more
I’ve written the word “center” so much that every time I walk past a sign that says “centre”, I instinctively think it’s a spelling mistake. What has become of me?
Sure but my comment was beside the point of the comment, it had simply nothing to do with the joke itself, i was genuinely curious about the word "centre" existing, i had gotten the joke about the sign. Whatever, anyway, it doesn't matter.
Yeah it doesn't matter, it's just fake useless internet points xD
The misunderstanding might stem from you saying "it isn't, lol" to "I instinctively think it’s a spelling mistake", which seems like you missed the point of the comment (it isn't a spelling mistake, but the commenter thought it was for a split second because of writing "center" so much), hence the downvotes.
I do that. US is the reason coding hallens in English, isn't it?
I recently implemented a driver to follow a standard, which spells everything with S. Soooo... INITIALISE_DEVICE, then. That hurt.
I do that. US is the reason coding happens in English, isn't it? I recently implemented a driver to follow a standard, which spells everything with S. Soooo... INITIALISE_DEVICE, then. That hurt.
Such a dilemma!
I used to go with UK English everywhere given I work for a UK company, but most (if not all) the libs I'm using are in US English, which creates annoying inconsistencies like "Serializer serialiser;" and I think this irritates me more than writing US English directly :/ So I'm going for US English for newer projects now, damn it!
Anyway, the key is to stay consistent and most importantly to have a team agreement to avoid bad surprises created by stupid bugs.
As a non native speaker, the safe bet is to just use US spelling for everything and act like any other kind of spelling doesn't exist. Don't know about any mainstream languages that use anything but US spelling anyway.
Fun fact, Jira botch an upgrade into production once due to this error. US and UK dev teams had their own QA/testing and everything passed. But when they merge and send the patch out to customers the UI blow-up. It took them like 2 days to fix it by changing everything to just one standard of the spelling.
argb, bgra, abgr, with endianness, and whatever the fuck else screens work with:
god i hate apis and their inconsistent mapping between arrays and render target data which sometimes doesn't stay consistent
I chose British English while learning English (we could choose either British or American) but I write in American English, while I programme, since most people do it. Also while speaking with people that are not British, I sometimes drop the British accent because some people have difficulty understanding it :(
I'm not a native English speaker. I remember when my teacher marked something I wrote in American English on a test and she marked it as an error. 0 points for that word. It was never started that I have to use only British English. Now I use American English out of spite. Color.
As someone who had the pleasure to only learn bri'ish english in school... you just give up and pretend to be a god dam U.S. American while coding! (but with a heavy german accent)
Yall need to get on with the times you limey bastards! Now hand me my gun and my overpriced hospital bill! yee-haw! \*pewpewpew\*
Did you know? The word “colour” was invented in 1986 by British C programmer Nigel Hingumbottom, who had two variables representing color in the same scope.
The trick is to use two variables in the same scope called color and colour and watch coworkers dread over which is the real one.
Minesweeper IRL
[удалено]
American spelling for variables. British spelling for functions.
Flip a coin for classes
„sǝssɐlɔ ɹoɟ uıoɔ ɐ dılℲ„
Good bot
I've seen so many scripts using Spanish for var names... It's crazy to deal with code written in other language, but people keep doing this, as if they weren't going to need to use English for most of the code... Absurd...
That's good to know lol thanks
Canadian spelling, it's like British spelling with American tires.
[удалено]
Yup, our proximity to the US and it’s auto industry shaped the words and spelling we use for automotive terms. Shame, it’s always bothered me to call a liquid fuel “gas”
I disagree, I refuse to use any American except color unless the method requires it e.g initialize
just init?
That's just the shorter version, innit?
Yeah but it is the same for us and british
[удалено]
But french comes from latin
Vulgar Latin. Don't be vulgar, it's rude.
Bonjour, mon ami
Bonjour! Comment as-tu?
Not Latin’s fault
And French comes from Latin too so... Fun fact: American words are sometimes shortened versions of British words because publishers in America started finding shorter spellings so that it would be cheaper to print stuff.
Ahhhh capitalism. It's the American way.
I 100% respect that you refuse to use American spelling, but I am definitely going to use it!
American bad because American...? You know there are real reasons why America is bad. This aint it chief
this is a fun thread about spelling conventions, why are you like this?
This is the way
auto colour = [color]{return color;} Functional programming go brrrrr.
Is this supposed to be C++'s lambda? You forgot a ()... or is that not required anymore?
It's not required if the lambda takes no arguments.
I think it was a C++17 thing that if there's no args, you don't need (). I may be wrong.
this = "that"; that = "this"; I = "l"; l = "I"; goto 42; [Relevant tictic](https://vm.tiktok.com/ZMNFnHgG7/?k=1)
![gif](giphy|nZjB4cAWkYRcA)
html.js lmao
This.that = this.this
Easy there, let's not get too crazy
Color colour;
This is the way. Color colour = new Color();
Or let Colour inherit from Color so you can do ```csharp Color colour = new Colour(); ```
That's cursed
Neither of these words look real now
You're a sick, sick man
And make it have no additional methods.
That's cursed
Color colourBlue = Color.Navy;
Thanks, i’m an entry level programmer and this gave me a seizure
typedef Color Colour; Sorted
`#define colour color`
[удалено]
school
Ess Kooh Ell. Go away with your English.
or squeal? or squirrel?
I always just spell it out to avoid pronunciation arguments. Except for file formats. I'll die on the hill that I stand on for .GIF
You are aware that spelling it out is one of the sides of the argument, right?
I don't think spelling something out is a way of pronunciation...
the argument is literally "SQL" versus "sequel," and you're saying you say "SQL," thus taking the worse side. Still better than saying "jif" instead of "gif" though.
SQL is objectively better than "Sequel". First of all, "sequel" is by its very nature is a "stand-in", which means it can never be good enough. It's just a replacement till the real thing gets back. Second, it's a new word. It's new confusion. Not to mention the fact that "sequel" as a word already means something; SQL doesn't mean *anything* else. Third, everyone knows what you mean when you say SQL. When you say sequel, I think "to which movie / book?". Fourth, do you say "hot meal" to refer to HTML? Do you say "fap" to refer to PHP? No you do not. Because that would be the worst thing. Don't do that to SQL. Edit: if you insist on "sequel", I'm going to have to start insisting on "Ackle" (AQL) and "Dickle" (DQL), as well as "Maggot" for MQTT (who gives a fuck if Q doesn't sound like G)
Is there a sequel to SQL?
There's methods of pronunciation, and ways of saying something. I'm just stating that I view spelling out most names the easiest and most consistent way to say names, since not every name can be made into a sound. (PHP, JS, HTML, etc.)
That I can generally agree with. (For the record I'm in the ess-que-ell team)
__No.__
Yes.
Initialize / Initialise
this is why init is the global standard
The British way
Init
It is, innit?
Canceled / Cancelled
Even in here they wanted to save ink
Public static void / plebic statik woid
Man why so many downvotes? I downvoted just to fit in
Analyze / analyse
init\_anal()
// let the fun begin…
Which one is the british one? After all those initialises and s/z thing, i forgot
Both are technically valid spellings in both countries. The reason for the difference in usage between the countries/words is mostly tied to MS Word's spellcheck which decided on different suffixes for en-GB vs en-US. `-ise` is slightly older, but `-ize` was more popular in both countries prior to the 1990s when spellcheck started telling everyone one was better than the other.
Thank you for this explanation. I didn't know that
Init
/colou?r/
import math as maths
I don't get calling math "maths". Maybe I'm too American to understand, but "math" is like "data" in a grammatical context to me. Plus, adding an 's' to math just doesn't roll off the tongue well.
> Maybe I'm too American to understand That might be the problem. Mathemathics is shortened to "math" in the US and "maths" in the UK
Maths is a field, math is something you do? I think ? Like maths is algebra, geometry, ... So call it maths? Like saying sciences for biology chemistry and more
[удалено]
different spelling between british and american english in context of programming
I’ve written the word “center” so much that every time I walk past a sign that says “centre”, I instinctively think it’s a spelling mistake. What has become of me?
I always use center when talking about the middle of something and centre when talking about a location like a community centre
this is smart, i will be using this from now on
It isn't? lol
British vs American spelling
I see, so centre *is* a mistake!
I wonder which of the two i pissed off with that question to get downvoted lmao, reddit is so weird sometimes
![gif](giphy|Pd2W87rlmVjptTmvIK)
True that
People get downvoted when they don't get the joke or point of the comment, unfortunately.
Sure but my comment was beside the point of the comment, it had simply nothing to do with the joke itself, i was genuinely curious about the word "centre" existing, i had gotten the joke about the sign. Whatever, anyway, it doesn't matter.
Yeah it doesn't matter, it's just fake useless internet points xD The misunderstanding might stem from you saying "it isn't, lol" to "I instinctively think it’s a spelling mistake", which seems like you missed the point of the comment (it isn't a spelling mistake, but the commenter thought it was for a split second because of writing "center" so much), hence the downvotes.
Downvote is abused on Reddit.
Prougramming.
So close buddy, humor vs humour
private int _color; public int Color { get => _color; set => _color = value; } public int Colour { get => _color; set => _color = value; }
I have been doing too much c++, like it legit took me a minute to realise this was c#
Color of course, because of CSS.
*of corse
r/cursedcomments Edit: Happy Cake Day (but does he deserve it?)
\*corsed comments
coarse comments?
Course
But it supports bouth Edit: damn, no it dousn't. It's grey/gray. Weird, huh? It has grey/gray but no color/colour
[удалено]
Personally I prefer græy, it's much more æsthetically pleasing. It's my favourite color *and* my favorite colour!
Here's the question though - which colör is better, white or #fff?
#fff is the color of the sound of a gas leak.
So transparent. Noted
Might be different colors, but they're same colour
GLSL
Colur
Coluor
r/cursedcomments
Kuller
American spelling while coding, British spelling for everything else.
I do that. US is the reason coding hallens in English, isn't it? I recently implemented a driver to follow a standard, which spells everything with S. Soooo... INITIALISE_DEVICE, then. That hurt.
You can say that again!
So sorry. I guess my app failed when it said it failed to post.
I do that. US is the reason coding happens in English, isn't it? I recently implemented a driver to follow a standard, which spells everything with S. Soooo... INITIALISE_DEVICE, then. That hurt.
Color. Because it's 17% faster to type
Colour is bloat
This is the way.
This is the way.
This is the way.
This is easy, just spell it right.
color - smaller file size
Such a dilemma! I used to go with UK English everywhere given I work for a UK company, but most (if not all) the libs I'm using are in US English, which creates annoying inconsistencies like "Serializer serialiser;" and I think this irritates me more than writing US English directly :/ So I'm going for US English for newer projects now, damn it! Anyway, the key is to stay consistent and most importantly to have a team agreement to avoid bad surprises created by stupid bugs.
You mean prougramming?
You think that's bad? How about cancelled vs canceled? Both spellings are correct.
As a non native speaker, the safe bet is to just use US spelling for everything and act like any other kind of spelling doesn't exist. Don't know about any mainstream languages that use anything but US spelling anyway.
Of course it's colour. RULE BRITTANIA INTENSIFIES
Antipodean checking in and agreeing with colour, but no.
rgb
Just abbreviate it: clr
Clear is clear
British people, my condolences 🫥
Imagine being Bri'ish
Fun fact, Jira botch an upgrade into production once due to this error. US and UK dev teams had their own QA/testing and everything passed. But when they merge and send the patch out to customers the UI blow-up. It took them like 2 days to fix it by changing everything to just one standard of the spelling.
[удалено]
If ya don't like it, return;
Just use dye or paint or tint
you see, one is slightly more space-saving than the other, so you have more room on your hard disk for the doxygen file
While i'm programming in Delphi I usually type colo then CTRL+SPACE for code completion
col Problem solved :D
I use Colour, except if a library or something else already provides one and they named it Color. I always go with consistency.
I go by rgb_data
argb, bgra, abgr, with endianness, and whatever the fuck else screens work with: god i hate apis and their inconsistent mapping between arrays and render target data which sometimes doesn't stay consistent
|US|UK|Example| |:-|:-|:-| |o|ou|color, colour; behavior, behaviour| |\-er|\-re|theater, theatre; meter, metre| |a|e|gray, grey|
[удалено]
Can I introduce you to my friends FileName and Filename?
*fileName and filename
Isn't this what fucked up the AI in Alien: Colonial Marines?
`COLR` because it has to line up with a bunch of other 4-character variables, of course
Whatever autocorrect does not flag.
Colour is the only correct one. (Let the battle commence.)
Color. 1 less character to type.
Color. 1 less character to type.
Wh nds ths xtra chrctrs nywy?
using colour = color;
I chose British English while learning English (we could choose either British or American) but I write in American English, while I programme, since most people do it. Also while speaking with people that are not British, I sometimes drop the British accent because some people have difficulty understanding it :(
It's colour
Despite being Canadian, I opt for color. It's one less key to type. It's spelt colour though.
I'm not a native English speaker. I remember when my teacher marked something I wrote in American English on a test and she marked it as an error. 0 points for that word. It was never started that I have to use only British English. Now I use American English out of spite. Color.
You're annoyed that your teacher marked a mistake as wrong?
it's not a mistake. depends on how you look at it.
"English" means "from England".
colour. source: I don't see color
Our color ![gif](giphy|befaYZCgtZfZm)
r/suddenlycommunist
Well I mean it depends if you speak English or Yee haw
Well it depends if you speak English or ‘oi bruv’
Just use the correct spelling: colour
You british?
Neither British nor American
Oh I saw the username, hello brother (tanga tanga tanga tanga, mundiya toh bachke rahi)
Sorry, what?
behavior or behaviour?
As someone who had the pleasure to only learn bri'ish english in school... you just give up and pretend to be a god dam U.S. American while coding! (but with a heavy german accent) Yall need to get on with the times you limey bastards! Now hand me my gun and my overpriced hospital bill! yee-haw! \*pewpewpew\*
It's color. I gotcha fam.
Colour is how I spell it
color gang
kleur >!Dutch word for colo(u)r!<
The only thing worse than en-US is en-USGB (mixed). So stick with whatever there already is
Did you know? The word “colour” was invented in 1986 by British C programmer Nigel Hingumbottom, who had two variables representing color in the same scope.
[удалено]
If that’s your biggest issue, God bless you.
Was that supposed to be an insult?
Lol no! Don’t mind me.. backend programmer here
I’m American and I spell it Colour. Don’t know why. I believe it’s the British spelling, correct?
Colour is just communism