[OT] Signs You're a Crappy Programmer (and don't know it)
Listen to this article
:: Talkr
Stumbled upon this - interesting and funny.
Signs You're a Crappy Programmer (and don't know it) through Damien Katz blog.
I particularly liked these three points as I have seen people doing it many times.
# You are adamantly opposed to function/methods over 20 lines of code.
(or 30 or 10 or whatever number of lines) Sorry, sometimes a really long function is just what's needed for the problem at hand. Usually shorter functions are easier to understand, but sometimes things are most simply expressed in one long function. Code should not be made more complex to meet some arbitrary standard.
# You think error handling means catching every exception, logging it and continuing on.
That’s not error handling, that’s error ignoring and is the semantically equivalent to “on error next” in VB. Just because it got logged away somewhere doesn’t mean you’ve handled anything. Error handling is hard. If you don’t know exactly what to do in the face of a particular error, then let the exception bubble up to a higher level exception handler.
# You model all your code in UML before you write it.
Enthusiastic UML modeling is typically done by those who aren’t strong coders, but consider themselves software architects anyway. Modeling tools appeal most to those who think coding can be done in conference room by manipulating little charts. The charts aren’t the design, and will never be the design, that’s what the code is for.