c# - Should I avoid using unicode characters in variable names? -


the c# language specification says can use unicode characters in specifiers (class , variable names, etc.)

i went long way doing in code. since live in brazil, includes lots of accented characters, variable names such rotação, ângulo, máximo, etc.

everytime more "experienced" developers catches this, advised avoid , change back, otherwise lot of kittens die.

i went quite long way undoing it, today found variables still named accents, in methods written long ago, , no kitten died far (at least not because of that).

since language (portuguese) accented, wold make lot of sense if our codebase has characters, since c# explicitly allows it.

so question is:

are there sound technical reason not use unicode characters in c#/visualstudio codebases?

what if had take on code written in cyrillic? developers comfortable standard latin character sets. they're easy type on keyboard.

i recommend sticking simple set.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -