Hacker News new | past | comments | ask | show | jobs | submit login

A really bad variable name should confuse the reader as much as possible. If I remember my compiler design classes correctly Pascal (?) allows you to name variables the same as language constructs. That means you can write something like

FOR FOR = WHILE WHILE WHILE = FOR

Now THAT'S bad variable names. :)

Isn't there an example like this in the Dragon Book?




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: