Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Do you use the British spellings like 'Behaviour' or American ones like 'Behavior'?

Discussion in 'General Discussion' started by Raseru, Feb 27, 2020.

  1. Raseru

    Raseru

    Joined:
    Oct 4, 2013
    Posts:
    87
    Stuff like 'Behaviour' is found all over the place in Unity. It makes sense because they're not based in America. Now there's other stuff like 'Color' instead of 'Colour', and this might have been influenced by C# already having a spelling 'Color'.

    Do you try and be consistent with how Unity names things for your own stuff or do you just base it off how it is spelled where you live (eg PlayerBehaviour/SetColour)?
     
  2. BIGTIMEMASTER

    BIGTIMEMASTER

    Joined:
    Jun 1, 2017
    Posts:
    5,181
    The only thing that matters is that the team can communicate efficiently and without error.

    So you tell the team, we are using british spellings. Then you make a nice colorful slide with all the words that have a british spelling and a non british spelling. Then you ask everybody to send an email confirming that they have seen this slide and they understand and will comply.

    Those who don't comply are hurled from the roof. < This is the most important part.
     
    Metron, Kiwasi and Ryiah like this.
  3. bobisgod234

    bobisgod234

    Joined:
    Nov 15, 2016
    Posts:
    1,042
    GameMaker spells colour with a "u", thus making it the best choice of game engine.
     
  4. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,191
    There is a third option available. Create an alias with the name and spelling you prefer.
    Code (csharp):
    1. using Colour = UnityEngine.Color;
     
    Moonjump, MadeFromPolygons and Ony like this.
  5. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    When I create a class which inherits from MonoBehaviour I use the same spelling of Behaviour in the class name for consistency. With the way communications works today, the "how it is spelled where you live" is almost meaningless anymore. Neither spelling is incorrect English, and I think enforcing specific spelling rules is a bit draconian.
     
  6. kdgalla

    kdgalla

    Joined:
    Mar 15, 2013
    Posts:
    4,386
    For me, MonoBehaviour is spelled m-o-n-[autocomplete]. That makes it region agnostic.
     
    Craftist, aer0ace, Tzan and 5 others like this.
  7. Amon

    Amon

    Joined:
    Oct 18, 2009
    Posts:
    1,372
    Since English is from England, any American spellings of English words should be invalidated and the people that implemented the spellings that way should be shot dead, or sent to Australia.
     
    Metron and hard_code like this.
  8. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,594
    Whatever I use, I try keep consistency. English is not my native language, but at least I am trying :rolleyes:

    One good thing of USA is, they simplified Eglish spelling mess. There is tons that could be still done however. BTW, have you heard about Australian-English? Where would you send them? :)
     
  9. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    I know you're making a joke, but the people you'd have shot dead were all Brits, as most American English spellings were brought over from England as there was much chaos in English spelling during the American colonial period. British English didn't really even start to standardize its spelling until shortly before the American revolution.

    For example you will find both the modern British spelling of colour and the modern American spelling of color throughout Shakespeare's works, as both were considered correct spellings in England at the time. The United States wouldn't even become a country for another couple hundred years, but we get blamed for everything ;) .
     
  10. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    I tend to use a bastard mix of both.

    It looks like the American spelling is slowly winning out globally. Mostly this is because software giants like Microsoft, Apple and Google are all US based. This means pretty much every spell checker in the world uses the American spellings. Try and write proper English and you get faced with a bunch of squiggly red underlines. The American spelling typically has the advantage of using less letters and requiring less skill.

    Before anyone points it out, clicking "British English" or "Australian English" in the spell checking options typically does nothing. And it hasn't done anything for decades. I'm convinced this is part of an organised conspiracy to win an American cultural victory.

    We've lost the war on "programme". We are losing the war on "colour" and "flavour". We are holding ground on things like "metre" and "centre", although this has been done through a weird split definition and some of the peripheral meanings have been sacrificed. We have also been very successful in stealth mode with "aluminium", there are so many letters in that word that no one notices when we slide in a few extra. "Travelled" also does well via stealth.

    On the other hand replacing "s" with "z" is so cool that we tend to have embraced above and beyond the American tradition. And nobody could ever figure our when to use a "c" or an "s", so that battle field as been mostly abandoned in disgust.
     
    Raseru, Joe-Censored, Baste and 3 others like this.
  11. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    We don't want them. We've take the American TV. And the American fast food chains. And the American department stores. And the American capitalism. And the American politics.

    But please leave us some dignity and keep the actual Americans to yourself.

    ;) :p
     
  12. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,337
    I do not use word "Behaviour"" while naming classes, as it is rarely a good choice.
    Given that I'm neither british nor american, I use whatever when it comes to spelling.
     
  13. andyz

    andyz

    Joined:
    Jan 5, 2010
    Posts:
    2,148
    well I never realised Unity mixed up its spelling! but most APIs use American so it just seems easier to follow that and save on typing ('u' mainly!).
    However UK teams will often push their 'correct' spelling
     
  14. deliquescator

    deliquescator

    Joined:
    Apr 30, 2016
    Posts:
    57
    Well the language is called 'English' and originates from Great Britain, so let's keep the spellings in its original British English versions shall we? :p
    That means, it's spelt 'Behaviour'.
    Anything else is incorrect unless you label the language American English :D

    P.S. Love you Americans and your quirky English dialects and accents, so please don't choose to take offense <3

    (The forum just tried to correct my British spelling of offense to offence and now I am offended xD)
     
  15. MadeFromPolygons

    MadeFromPolygons

    Joined:
    Oct 5, 2013
    Posts:
    3,886
    Im british, born and raised in britain, working and living here, and I still accidentally use american spellings a lot. I think since the dawn of the internet, where a lot of major companies and websites you interact with are american, its becoming more and more of an okay thing.

    I dont think once you leave school it really matters which you use unless you have a boss that is pedantic about spelling
     
  16. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,594
    It is not the forum. It is your browser's installed/default translator/spell checker.
     
  17. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,594
    And languages are always evolving creatures. So is not right or wrong there really.
     
    MadeFromPolygons likes this.
  18. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,337
    Original english?
     
    Craftist, Kiwasi, Amon and 1 other person like this.
  19. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    Another important reason is most native English speakers today are American. The US population outnumbers all other native English speaking nations combined by a significant margin.

    United Kingdom - 66.44M
    Canada - 37.59M
    Australia - 24.6M
    New Zealand - 4.79M
    Ireland - 4.83M
    South Africa - 56.72M
    Total Population - 195M

    United States - 327M
     
    Raseru and Kiwasi like this.
  20. Moonjump

    Moonjump

    Joined:
    Apr 15, 2010
    Posts:
    2,572
    I consider American English to be English-- (the opposite of C++) because there is often a letter missing. I do understand the missing letter to make some words easier, but other American spellings make it harder. In English English, meter and metre help separate the measuring device from the distance. Check and cheque are another good example, especially when you want to check a cheque.

    The mixture of Latin, Germanic and Briton sources of the language make it interesting, and with wide variety created along the way. For example, the rich Normans after their invasion using the latin words for meats (beef, pork, etc.), while the poor people preparing their food used the existing words for the source animals (cow, pig, etc.).

    On the other hand there can be overlaps. My home city of Lincoln has many street names ending in "gate" such as Westgate and Michaelgate, but they have two different sources. Some come from gates in the old Roman settlement (the name Lincoln is a shortening of the old Roman name Lindum Colonia, derived from the older Celtic name Lindon), while others come from when under Danelaw, as gate is a corruption of a Scandinavian word for street (Swedish "gatan" appears the closest).

    I dislike "English" being American English in computer systems as if UK English was only a derivative, it should be US English and UK English. But for programming, consistency within the team is most important.
     
    deliquescator likes this.