Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
10 Stinky Things To Avoid In Java (nerds-central.blogspot.com)
4 points by NerdsCentral on March 5, 2012 | hide | past | favorite | 1 comment


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: