100 Java Mistakes and How to Avoid Them

EPUB · English
Price and availability
EPUB eBookUS store
$79.99
Sign in to buyYou’ll review your order and final price before payment.
Download from your library after delivery. Protected eBooks need a compatible reading app.
For personal use under the eBook licence.
Territorial availability
Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa
Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.
- Format
- EPUB
- DRM
- Not stated by the publisher
- Language
- English
- Publisher
- Manning
- Published
- 28 May 2024
- ISBN
- 9781638354956
- Subjects
- Computing & information technology, Computer programming / software development, Web programming, Programming & scripting languages: general, Software Engineering, Computer science, Computing and Information Technology, Computer programming / software engineering, Web programming, Programming and scripting languages: general, Software Engineering, Computer science
About this book
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, its almost guaranteed that someone else has made it before! In 100 Java Mistakes and How To Avoid Them youll 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, youll benefit from useful static analysis sidebars that let you know when mistakes willand wontbe spotted by static analysis tools.Foreword by Cay Horstmann.About the technologyMinor bugs in development can become major problems in production. Its much better to spot and fix your mistakes before they get that far! This one-of-a-kind book shines a light on the most common Java slip-ups and shows you exactly how to avoid making them in the first place.About the book100 Java Mistakes and How To Avoid Them highlights 100 Java coding errorsfrom beginner missteps to mistakes even Java experts dont know theyre making. Each case includes clear examples to show you what to look for and concrete troubleshooting advice. Youll learn to use static analysis tools like IntelliJ IDEA and SonarLint to ensure youre consistently delivering exceptional Java, discover how unit tests and defensive coding can keep your code clean, and even learn to write your own bug-busting plugins.What's inside Recognize bugs and antipatterns during programming Highly-effective debugging and testing Get help from static analyzers About the readerFor Java developers of all skill levels.About the authorTagir Valeev is a technical lead in JetBrains and a Java Champion. He designed and developed many code inspections for IntelliJ IDEA built-in static analyzer.The technical editor on this book was Jean-Franois Morin.Table of Contents1 Managing code quality2 Expressions3 Program structure4 Numbers5 Common exceptions6 Strings7 Comparing objects8 Collections and maps9 Library methods10 Unit testingA Static analysis annotationsB Extending static analysis tools
Bibliographic data © Gardners Books Ltd.