Language of variable names? (native foreign language speakers)
- by Jj
We are a spanish speaking development team, we code in django and we all are pretty fluent in english, as all documentation, sample code, APIs, etc come in english.
On our last project we chose to name all the variables, class names, modules, files and such in english, even though the whole application was in spanish, we kept a strings file where all our spanish was stored.
We did this because it seemed more natural to read the whole code in one language, since keywords, constructs and dependencies have names in english.
On new projects we are starting, we are having second thoughts about other teams mantaining our code or just having 3rd parties having to deal with templates or context in spanish.
Do you know of any best practice on this matter?