//The following if checks blah
if(blah == this.blah)
blah;
//If it isn't blah, throw an exception
else
throw new BlahException();
I don't always do it like that, not for obvious things, but when it isn't obvious I'll go to that level of describing conditional statements and loops
Oh, and if you go through the Java API, you find comments everywhere. Sure their Javadoc is good, but their other comments are usually very vague and appear below code... it makes me want to throw something
This post has been edited by TriggaMike: 19 November 2009 - 12:30 PM

New Topic/Question
Reply




MultiQuote










|