- Naming variables a, b, c leaves a lot to be desired. Actually, as far as our team is concerned, if you would use a variable name like this in a method longer than 3 lines I would probably shoot you right away. No questions asked. Of course, you’re welcome to use ‘i’, ‘j’ or ‘k’ in a three line for loop (if there’s no iterator available).
- If methods are that long to make you wonder if a specific variable was passed by reference or value, you’re in for a major refactoring job before making any changes to the method
And don’t get me started on hungarian notation.