Quote:
Originally Posted by wdell
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....