Language of variable names? (native foreign language speakers)

Posted by Jj on Stack Overflow See other posts from Stack Overflow or by Jj
Published on 2009-10-01T22:13:31Z Indexed on 2010/05/23 7:50 UTC
Read the original article Hit count: 440

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?

© Stack Overflow or respective owner

Related posts about best-practices

Related posts about variables