Building Maintainable Software, Java Edition
Ten Guidelines for Future-Proof Code
Publisher: O'Reilly Media
Final Release Date: January 2016
Pages: 168

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
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyBuilding Maintainable Software, Java Edition
 
4.4

(based on 5 reviews)

Ratings Distribution

  • 5 Stars

     

    (3)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Easy to understand (4)
  • Helpful examples (4)
  • Accurate (3)
  • Concise (3)
  • Well-written (3)

Cons

No Cons

Best Uses

No Best Uses
    • Reviewer Profile:
    • Developer (4)

Reviewed by 5 customers

Displaying reviews 1-5

Back to top

 
5.0

Precise, lightweight, and easy to follow guidelines

By Lorenzo Solano

from Dominican Republic

About Me Designer, Developer, Educator

Verified Buyer

Pros

  • Accurate
  • Concise
  • Easy to understand
  • Helpful examples
  • Lightweight
  • Well-written

Cons

    Best Uses

    • Intermediate
    • Student

    Comments about oreilly Building Maintainable Software, Java Edition:

    In my case (reading, studying style)
    * Read time: approx. 4 hrs
    * Study time: 2 weeks (40 hrs)

    Useful to approve the Quality Software Development: Maintainability Foundation (Java)
    * Totally I approved the exam in the first try with good grades

    I fully recommend this book.

     
    5.0

    Very heplfull even for C/C++ programmer

    By richardcz

    from Munich, DE

    About Me Developer

    Verified Buyer

    Pros

    • Easy to understand
    • Helpful examples

    Cons

      Best Uses

      • Expert

      Comments about oreilly Building Maintainable Software, Java Edition:

      The book explains basic rules, which I've immediately used in my new C/OOC-code. It explains several design patterns of a code. Mentioned standard was for me new and it is nice explained with short examples.
      There are mentioned several tools to check a "maintainability" of a code in the book. But as a C programmer I can't judge them.

      I like the number of pages, it fits perfect for me. I read the book in few days.

       
      3.0

      Good

      By lel

      from Chicago, IL

      About Me Developer

      Verified Buyer

      Pros

        Cons

        • Not comprehensive enough

        Best Uses

        • Student

        Comments about oreilly Building Maintainable Software, Java Edition:

        The book highlights many best practices and gives good examples on how to achieve them. However, most chapters repeat over simplified explanations that should be plainly obvious to most developers already. I was hoping the book would go into more details on how to explicitly score code quality but there usually is only one page dedicated to scoring at the end of each chapter and it doesn't cover everything needed to score that topic. It's a good read but most people will be able to skim through it and wont need to read all the details.

        (2 of 2 customers found this review helpful)

         
        5.0

        Practical and important

        By DeMarcus

        from Stockholm, Sweden

        About Me Developer

        Verified Buyer

        Pros

        • Accurate
        • Concise
        • Easy to understand
        • Helpful examples
        • Well-written

        Cons

          Best Uses

            Comments about oreilly Building Maintainable Software, Java Edition:

            This is the first book I've read that gives you clear hands-on instructions how to start deal with the non-functional requirement Maintainability, part of ISO 25010.

            If you're a junior developer that want that special job at XYZ Inc., this book will help you impress the recruiter. If you're a senior tech lead that have no clue how to clean up your code base, this book will help you measure maintainability just like you measure your code coverage.

            I was thinking of giving the book only four stars since it doesn't go into depth about what tools could be used to measure, but in the end I gave it five starts since it combines academic theory and industry practice in an exemplary way.

            (2 of 2 customers found this review helpful)

             
            4.0

            Consise, specific and useful

            By G.P.Masury

            from Mansfield, CT

            About Me Sys Admin

            Verified Buyer

            Pros

            • Accurate
            • Concise
            • Easy to understand
            • Helpful examples
            • Well-written

            Cons

            • More Background Please

            Best Uses

            • Expert
            • Intermediate

            Comments about oreilly Building Maintainable Software, Java Edition:

            This short book presented specific suggestions for making code maintainable. While they may seem rigid, and maybe even trite, the suggests are easy to understand and follow. The few suggestions I tried seriously helped make my code easier to read, and the exercise even helped me understand my code better.

            Displaying reviews 1-5

            Back to top

             
            Buy 2 Get 1 Free Free Shipping Guarantee
            Buying Options
            Immediate Access - Go Digital what's this?
            Ebook:  $21.99
            Formats:  DAISY, ePub, Mobi, PDF
            Print & Ebook:  $27.49
            Print:  $24.99