Settings

Theme

10 Stinky Things To Avoid In Java

nerds-central.blogspot.com

4 points by NerdsCentral 14 years ago · 1 comment

Reader

carlesfe 14 years ago

I agree with most of them, but I like to use 'break' if it avoids using a huge 'if' or an "are we finished yet?" kind of variable. Also static functions are good, especially if you have a MVC approach and you have a lot of controllers which work on two or more objects.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection