|
Re: Bad Programming Practices
Most of the folks on this thread are experienced programmers and could probably understand whatever was put in front of them. But remember your audience! If someone is coming to CD for coding help they are often not just novices, but novices without resources and mentors locally that they can turn to for help.
One example given above was why comment i++?
I use ++ and += without thinking about it, but imagine what that looks like to a freshman who has never coded in any language. To them its just hieroglyphics. With every new batch of programmers you need to go over the basics. And while many requests are from obviously experienced people with sophisticated questions, there are still rookies lurking trying to learn.
We are not here just to build robots or show off our l337 coding skillz. The more knowledgable and experienced should be making an effort to raise the level of all. To make programming more accessible to all. You don't want to scare off the new people or make them think only Labview is suitable for them.
I think that was the intent of the original poster's comments. Comment your personal code as you like (its your problem later on) but comment code that will be your teams legacy for the future programmers. Especially structure and comment the code you post here so that when some eager new kid looking to try java comes across your code in five years they will think:
a) I can do this!
and
b) Wow, thanks for taking the time to post it!
|