|
Re: Bad Programming Practices
I agree commenting is good practice, and also that those darn camera classes are so hard to understand! My problem though is that I just come up with a good idea really fast and need to code it in before I forget it, and then I think of a way to improve it, and before you know it I've written hundreds of lines without a single comment because I was only spewing ideas out of my head. I just never get around to adding comments because since it's my code, it's obvious to me what it says. I totally agree though that comments are a good idea to add in as often as possible.
__________________
q = (2*b) | ~(2*b);
if (life.getLemons() != null) this.lemonade = new Drink(life.getLemons());
else throw new NoLemonsException("What now?");
|