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

Why not just use x1, x2, ... Problem solved.


Back in high or middle school, I wrote a Tetris game. Being terrible at programming, I stuffed all of the row clearing logic into one function, which ended up having variables named, x, xx, xxx, xxxx... I think I stopped at four x's. You can imagine the inner loops. No, it never worked right.


I propose modifying a minifier to make all variables different combinations of the characters VvWw, functions FEf, objects O0o, etc

Bonus points: instead of minimizing space, all identifies are, say, exactly 6 characters long.


In high school when I used f for file variable everybody looked at me like I just invented the wheel. Everybody else was using weird long names.




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

Search: