Hacker News new | past | comments | ask | show | jobs | submit login
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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: