Learn 10 easy-to-follow guidelines for delivering Java software that’s easy to maintain and adapt.
These guidelines have been derived from analyzing hundreds of real-world systems.
Written by consultants from the Software Improvement Group (SIG), this book provides clear and concise explanations, with advice for turning the guidelines into practice. Examples for this edition are written in Java, while our companion C# book provides workable examples in that language.
Write short units of code: limit the length of methods and constructors
Write simple units of code: limit the number of branch points per method
Write code once, rather than risk copying buggy code
Keep unit interfaces small by extracting parameters into objects
Separate concerns to avoid building large classes
Couple architecture components loosely and balance the number and size of top-level components in your code
Keep your codebase as small as possible and automate tests for your codebase
rite clean code, avoiding "code smells" that indicate deeper problems
Download your copy of the ebook
Start your learning journey today.
Leverage the world’s largest software benchmark
270+
BILLIONS LINES OF CODE
20k+
SYSTEMS ANALYZED
300+
TECHNOLOGIES SUPPORTED
25
YEARS OF EXPERTISE