Oct 11
5
Don’t Forget Comments When Programming
I just have to say something about this. Don't forget to add comments to your programs! I know it can be a little time consuming to add comments to your programs but it will save you tons of time down the road. Just think of how much time you would have saved if you ad commented out some of the programs you've worked with lately. Or better yet, think of the other applications you've worked with lately that someone else built and they forgot to add comments.
Now do you understand why I say add comments? Think of the amount of time you have had to waste picking up someone else's code and trying to figure out what it is really suppose to be doing. Or how about the time you go back and look at code you wrote years earlier. How much time would having comments in the code have saved you?
Sure, comments do bloat the size of the application a little but it causes little to no speed difference. Comments in pre-compiled languages are completely ignored and do not slow down anything and inside of files such as javascript, they are ignored but do add very slight size differences in downloading, but nothing in execution.
