News for hackers. Stuff that matters.
Re:Common Species Of Code by tudorconstantin on Monday November 11, 2013 @09:19AM (#6711669)
and the cat writes the most correct code according to most programming best practices - except for giving meaningful names to constants, variables and functions
Re:Common Species Of Code by Roboprog on Monday November 11, 2013 @10:56AM (#6712169)
Many years ago I remember coming across some code to page through a table. One of the variables was "STARTREK". There were a few moments of "WTF?!?", until I realized that the variable should have been named "StartRec" (allowing for the fact that language of the day was case insensitive, and only allowed 10 letter names)