Dodge the common mistakes that even senior developers make, take full advantage of static analysis tools, and deliver robust and error-free Java code.
Whenever you make a mistake writing Java, it’s almost guaranteed that someone else has made it before! In
100 Java Mistakes and How To Avoid Them you’ll learn about the common and the not-so-common antipatterns, errors, and tricky bits that trip up almost every Java developer.
Inside
100 Java Mistakes and How To Avoid Them you will learn how to:
- Write better Java programs
- Recognize common mistakes during programming
- Create fewer bugs and save time for debugging and testing
- Get help from static analyzers during programming
- Configure static analysis tools to reduce the number of false reports
- Extend static analysis tools with custom plugins
Each Java mistake in this handy guide comes with an illustrative code sample, an explanation of why the mistake occurs, and an actionable “ways to avoid this” section to help you dodge the error. Plus, you’ll benefit from useful static analysis sidebars that let you know when mistakes will—and won’t—be spotted by static analysis tools.