View Single Post
  #2   Spotlight this post!  
Unread 01-25-2011, 09:31 PM
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
Re: Bad Programming Practices

Quote:
Originally Posted by wdell View Post
I've been in college courses where it was a requirement to comment every single line. I've always thought that was a bit excessive,.
Usually the code in college courses requires several thousand lines of code. FRC robots only require a couple hundred.... if that... So commenting every line may not be excessive.

However I will note commenting every line was never a requirement of mine. Every function (except getters and setters) should be commented. Plus helpful comments throughout the function.

I will add that I am one of the guilty parties regarding the commenting of code. I will make an effort to be better about this in the future....
__________________
"Never let your schooling interfere with your education" -Mark Twain
Reply With Quote