We were all coding noobs at one point or another. Here's my list of the top ten things that I hope you don't do anymore.
You might be a programming newbie if...
- You put all of your variables in the global scope
- You've got a conditional with half a dozen expressions
- All of your variables names have three letters or fewer
- You put numbers at the end of your variable names instead of using arrays
- You leave comments in the code saying how awesome you are
- You're more impressed with what you made than with how you made it
- You think HTML is a programming language
- You put "programmer" on your resumé after wiring up some forms to a database using Visual Basic property pages
- Instead of using a class with two different data members, you squeeze two values into a single integer and use bit masks to pull the individual values out, because that's what awesome programmers would do
- You intentionally structure your code in a way that's difficult to understand. After all, if it were supposed to be obvious, we wouldn't call it code, would we?
I know you've got some more...
No comments:
Post a Comment