Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Surely, that's his point, putting an ambiguity into a variable name is just asking for trouble, choose a better name.


The ambiguity isn't in the name on its own "God is nowhere". It is in the combination of that name, and a bad naming convention.

If you had a naming convention which prohibits vowels, then the identifier "shrt" is ambiguous because it could be "short" or "shirt". That doesn't mean that "short" is a bad name for an identifier.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: