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

Why not take this to its logical conclusion and name modules, functions and variables cute names too. You need to understand the program and the code could be lying to you with its naming so why bother to name them at all. Start with Pokémon characters, atomic elements, geographical features etc. The possibilities are endless! This naming strategy can also save time when refactoring because you can change the meaning of a variable (for example) without having to rename it everywhere!


just name things with single letters and when you run out you can use double letters etc.

you'll be so fast at writing code a promotion is sure to follow


Contrarian take:

If your code is unreadable with single letter variable names your comments aren't clear enough. Case in point: Mathematics.




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

Search: