Hacker News new | ask | show | jobs
by neoneye2 1220 days ago
Awesome.

Evil ideas for improvements.

Random typos in class name, function names, comments, such as: inheritance -> enheritance class -> clas cannot -> cannont

Pick related words: person -> user, account, customer

Random swapping plural/singular users -> user

Append "Class" to classnames. example: User -> UsersClass

Insert rant comments about, politics, religion, profanity.

4 comments

Don't forget homonyms:

   InActive (not active)

   inActive (in the Active list)
I'm so triggered
kill it with fire
"privite" and "private" and "privet" but there are #defines to make them work anyway.

I actually saw code that looked like that from a very dyslexic mate of mine who I worked with a long time ago.

also, common capitalization mixups: "ID vs. Id", "snapshot vs. snapShot", "username vs. userName"
Emojis as class and variable names