For the love of all that is holy in this godforsaken world...pleeeez, pleeeeez, pleeeeez, when you're writing your code, consider the people who are going to have to modify and debug it down the road. I am fully prepared to launch myself off the 2nd story of this building right now because I'm trying to fix yet another program written by my nemesis, we'll just call him T.C., for Terrible Coder (oh, yea, I went there). T.C. is the programmer whose place I took in my current position whom I've never actually met, but from all accounts by my co-workers was a squirrely, unhygienic fellow with a preference for hippo-like women and who, hands down, has written the most unmaintainable, nightmarish code I've ever seen in my limited life.
Here are a few token characteristics of TC's code:
- Never a single comment of any kind.
- Never any modularity of any kind; if TC does write functions, there's no logical separation and they're typically anywhere from 100-600 lines of code per function.
- No logical organization of any kind within the code itself; the order of the programs seem to simply mimic TC's haphazard thought patterns.
- Extraneous code (this is the worst part). TC will often leave code in his programs that does absolutely nothing; like requesting session variables that don't actually exist at the beginning of the file and then never actually using them.
No comments:
Post a Comment