Free Download 100 Java Mistakes and How to Avoid Them
by Tagir Valeev
English | 2024 | ISBN: 1633437965 | 353 pages | True PDF | 12.06 MB
Dodge the common mistakes that even senior developers make, take full advantage of static analysis tools, and deliver robust and error-free Java code.
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 amount of false reports
Extend static analysis tools with custom plugins
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. Discover the bugs that are hiding in your Java code, and explore useful and effective ways to dodge them-from unit tests and defensive coding to static analysis tools like IntelliJ IDEA, SonarLint, and Error Prone.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the technology
Minor bugs you might not notice when writing code can quickly spin out of control in production, costing you time and money to fix. The solution is clear: spot the mistakes before you make them! This one-of-a-kind guide makes it just that easy. It shines a spotlight on the errors most often made by Java developers, so you can consistently deliver exceptional Java code.
About the book
100 Java Mistakes and How To Avoid Them shows you how to improve your Java code by identifying and dodging common programming problems. Inside, you’ll find one hundred errors, from missteps that trip up beginners to mistakes even Java experts don’t know they’re making. Each mistake is accompanied by concrete troubleshooting advice, as well as ways of using modern static analysis tools like IntelliJ IDEA and SonarLint to identify and fix the problem. You’ll quickly see why static analysis can be so helpful for writing your code, and even learn how to write your own useful plugins!
About the reader
For Java developers of all skill levels.
About the author
Tagir Valeev is a technical lead in JetBrains GmbH, where he works in the Java team and gives Java language support in IntelliJ IDEA. Tagir designed and developed many code inspections for IntelliJ IDEA built-in static analyzer. He is a Java Champion, and holds a PhD in computer science.