Skip to Content
100 Java Mistakes and How to Avoid Them
book

100 Java Mistakes and How to Avoid Them

by Tagir Valeev
May 2024
Intermediate to advanced content levelIntermediate to advanced
352 pages
10h 45m
English
Manning Publications
Content preview from 100 Java Mistakes and How to Avoid Them

1 Managing code quality

This chapter covers

  • Various techniques to improve the quality of your code
  • Advantages and disadvantages of static analysis
  • Approaches to make static analysis more useful
  • Testing and assertions

Every software developer introduces bugs to the code—there’s no way to avoid them completely. Some bugs cause very subtle changes to a program’s behavior no user would reasonably care about. However, other bugs are much more severe and, depending on the project, could lead to millions of dollars in loss, a destroyed spacecraft, or even the loss of human lives. Most bugs fall somewhere in the middle: they don’t have disastrous effects, but they annoy users and require hours of debugging and fixing.

Some bugs are caused ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The Complete Coding Interview Guide in Java

The Complete Coding Interview Guide in Java

Anghel Leonard
Java Coding Problems

Java Coding Problems

Anghel Leonard
Modern Java in Action

Modern Java in Action

Raoul-Gabriel Urma, Mario Fusco, Alan Mycroft

Publisher Resources

ISBN: 9781633437968Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link