25
cursee
6y

http://mindprod.com/jgloss/...

Skill in writing unmaintainable code
Chapter : The art of naming variables and methods

- Buy a copy of a baby naming book and you’ll never be at a loss for variable names. Fred is a wonderful name and easy to type. If you’re looking for easy-to-type variable names, try adsf or aoeu

- By misspelling in some function and variable names and spelling it correctly in others (such as SetPintleOpening SetPintalClosing) we effectively negate the use of grep or IDE search techniques.

- Use acronyms to keep the code terse. Real men never define acronyms; they understand them genetically.

- Randomly capitalize the first letter of a syllable in the middle of a word. For example: ComputeRasterHistoGram().

- Use accented characters on variable names.

- Randomly intersperse two languages (human or computer). If your boss insists you use his language, tell him you can organise your thoughts better in your own language, or, if that does not work, allege linguistic discrimination and threaten to sue your employers for a vast sum.

and many others :D

Comments
Add Comment