Hacker News new | ask | show | jobs
by 6t6t6t6 3394 days ago
> "buttonClick" may, depending on who you ask, become one of these: "clickEnBotón", "clickEnBoton", "clickBoton", "botonClick"...

Technically, `clic` is a noun in Spanish, not a verb, so, if you are talking about an action, the correct name for the variable would be `hacerClickEnBotón`.

At the same time, although more verbose, it would be interesting to see how a language in Spanish would work, once sensible conventions are set.

As a person who loves thinking about names, in your filter example I see that, just by changing one letter, one can be more precise in the exact meaning of the variable or method name.

Anyway, I am not saying that people should use Spanish when programming. Having English as the common language for our profession is a great advantage.