Fundraising September 15, 2024 – October 1, 2024 About fundraising

Building Maintainable Software, Java Edition: Ten...

Building Maintainable Software, Java Edition: Ten Guidelines for Future-Proof Code

Joost Visser
How much do you like this book?
What’s the quality of the file?
Download the book for quality assessment
What’s the quality of the downloaded files?

Have you ever felt frustrated working with someone else’s code? Difficult-to-maintain source code is a big problem in software development today, leading to costly delays and defects. Be part of the solution. With this practical book, you’ll 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
  • Balance the number and size of top-level components in your code
  • Keep your codebase as small as possible
  • Automate tests for your codebase
  • Write clean code, avoiding "code smells" that indicate deeper problems

Year:
2016
Edition:
1
Publisher:
O'Reilly
Language:
english
Pages:
168
ISBN 10:
1491953527
ISBN 13:
9781491953525
File:
PDF, 5.83 MB
IPFS:
CID , CID Blake2b
english, 2016
Read Online
Conversion to is in progress
Conversion to is failed

Most frequently terms