+ 2

Should I avoid accents when coding?

English is not my native language. So when I do some projects, sometimes I use some portuguese words to define methods, variable names, comments... The problem is when I push to GitLab, for instance, my code are not displayed properly. If I use some library, sometimes I get a runtime error, because an accent is not interpreted by the library... So these problems I get because somethings doesn't support Unicode chars. So, should I change my code, avoiding accents?

14th Jun 2017, 11:41 PM
Tiago Soares
Tiago Soares - avatar
1 Resposta
+ 6
Yes, it's more safe to use only non accentued letters: even if unicode is from more to more supported, it could always be source of problem when sharing files ^^
14th Jun 2017, 11:45 PM
visph
visph - avatar