TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

10 Stinky Things To Avoid In Java

4 pointsby NerdsCentralabout 13 years ago

1 comment

carlesfeabout 13 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.