By Joost Visser, Sylvan Rigal, Rob van der Leek, Pascal van Eck, Gijs Wijnholds

Have you felt pissed off operating with somebody else's code? Difficult-to-maintain resource code is a giant challenge in software program improvement this present day, resulting in high priced delays and defects. be a part of the answer. With this sensible booklet, you'll study 10 easy-to-follow instructions for providing Java software program that's effortless to keep up and adapt. those instructions were derived from examining enormous quantities of real-world systems.

Written by way of specialists from the software program development crew (SIG), this ebook offers transparent and concise motives, with suggestion for turning the information into perform. Examples for this variation are written in Java, whereas our spouse C# publication presents manageable examples in that language.

Show description

Read Online or Download Building Maintainable Software, Java Edition PDF

Best software development books

A Practical Guide to Localization (Revised Edition) (Language International World Directory, Volume 4)

Writer notice: Arjen-Sjoerd De Vries (Editor), Shiera O'Brien (Editor)
Publish 12 months observe: First released in 2000 (English Edition)
------------------------

A useful consultant to Localization used to be written for translators, localization engineers, checking out engineers, computing device publishers, venture managers, and somebody else who might be considering the discharge of multilingual items. during this moment variation, translators can examine extra on localizing software program, on-line aid, and documentation records, and at the most recent translation know-how instruments. Localization engineers will research all approximately constructing, engineering and checking out software program and on-line aid initiatives. For undertaking managers, there's all of the details wanted in making plans translation or localization initiatives, discovering assets, and making sure the standard of deliverables. New to this moment, absolutely up-to-date and revised version are chapters on internationalization, laptop publishing, and software program caliber assurance.

The booklet has been designed as either a reference paintings and a educating tool.

Bert Esselink has been lively in localization for over a decade. After graduating in technical translation and taking collage periods in programming and computational linguistics, he labored for numerous years as software program localizer, localization engineer, and technical undertaking supervisor at overseas software program items. In 1996 he joined ALPNET in Amsterdam as localization supervisor, prior to taking over the function of globalization supervisor, constructing inner creation caliber criteria. In January 2000 Bert joined Lionbridge to go up their globalization consulting companies.

Professional Visual Studio 2010 Team System : with Team Foundation Server 2010

Wake up to hurry on software Lifecycle administration (ALM) with visible Studio 2010 via a mixture of hands-on guideline and deep-dives. Microsoft has packed loads of fresh trying out and modeling instruments into visible Studio 2010, instruments that in the past have been to be had in basic terms to Microsoft inner improvement groups.

Web Service Contract Design and Versioning for SOA

The final word advisor for Designing and Governing internet provider Contracts   For net providers to be triumphant as a part of SOA, they require balanced, potent technical contracts that let providers to be advanced and many times reused for future years. Now, a crew of specialists provides the 1st end-to-end consultant to designing and governing internet carrier contracts.

Actors in Scala

Fresh developments in computing device structure make concurrency and parallelism an important factor of effective application execution. The actor version of concurrency lets you convey real-world concurrency in a common means utilizing concurrent strategies that converse through asynchronous messages. Scala is a programming language for the Java digital computing device, supplying very good aid for either object-oriented and practical programming.

Extra resources for Building Maintainable Software, Java Edition

Example text

Simple Units Are Easier to Modify Units with high complexity are generally hard to understand, which makes them hard to modify. The first code example of the first section was not overly complicated, but it would be when it checks for, say, 15 or more nationalities. The second code exam‐ ple covers many use cases for looking up or creating users. Understanding the second code example in order to make a functional change is quite a challenge. The time it takes to understand the code makes modification harder.

Couple architecture components loosely (Chapter 7) Top-level components of a system that are more loosely coupled are easier to modify and lead to a more modular system. Keep architecture components balanced (Chapter 8) A well-balanced architecture, with not too many and not too few components, of uniform size, is the most modular and enables easy modification through separa‐ tion of concerns. Keep your codebase small (Chapter 9) A large system is difficult to maintain, because more code needs to be analyzed, changed, and tested.

Objection: Splitting Up Methods Does Not Reduce Complexity “Replacing one method with McCabe 15 by three methods with McCabe 5 each means that overall McCabe is still 15 (and therefore, there are 15 control flow branches overall). ” Of course, you will not decrease the overall McCabe complexity of a system by refac‐ toring a method into several new methods. But from a maintainability perspective, there is an advantage to doing so: it will become easier to test and understand the code that was written.

Download PDF sample

Rated 4.26 of 5 – based on 20 votes