4
alkuzad
57d

What do you think about different English variants in code/docs ?

How you would name variable in UK company?
color ?
colour ?

Why ?

Comments
  • 4
    Both ok in css.
    So just code it in company's language.
  • 3
    I personally favour perfect Oxford English in all my coding projects.
    But I find it rather silly to enforce a dialect, especially if it is American "English".
  • 7
    Pick whichever and be consistent
  • 4
    Whatever is most commonly used in the programming language. Often, this means its restricted to the u-less color. But in some it's restricted to the ou-variant. Basically: Stick to fucking convention
  • 4
    I use the uk standard where possible.
  • 1
    I don't think there is a major difference in language variants other than how it affects the keyboard layout.
  • 1
    Whichever the company uses.
    Except with "grey" -- it's beautiful with an e.
  • 1
  • 1
    As long as you're consistent, I don't think It really matters. Use whichever convention your company uses and stick to it.
  • 0
    I would use American English because this is used in more programming languages so it’s an investment in consistency.
  • 0
    Does it really matter?
  • 0
    @twped You one of those guys? Don’t be that guy mate.
  • 0
    @MrMarco which guy is that?
  • 1
    @twped the guy wondering why &color and &colour is different.
  • 0
    @melezorus34 think we both know that was not what he meant. But yeah I don't think it matters because both will work just fine.

    But don't let it get to you.
Add Comment