Code Quality: The Open Source Perspective by Diomidis Spinellis

By Diomidis Spinellis

The publication is stuffed with hard-won event forged well into prose. it is a very precious learn. the writer does not draw back from explaining tricky or difficult options, the place worthy, and every aspect is illustrated with instance code from genuine systems.

For instance, the bankruptcy on Maintainability opens with 4 attributes of a maintainable method (from ISO/IEC 9126-1:2001) that actually struck a chord with me.

Analysability: discovering the positioning of an mistakes or the a part of the software program that needs to be analysed
Changeability: enforcing the upkeep switch at the system's code
Stability: no longer breaking something throughout the change
Testability: Validating the software program after the change

I comprehend maintainable code while I see it -- it has a definite feel... Up formerly although i have usually struggled to precise that feeling to non-programmers, or even extra importantly, to much less skilled colleagues.

Highly recommended.

Show description

Read Online or Download Code Quality: The Open Source Perspective PDF

Best software development books

Peopleware: Productive Projects and Teams (2nd Edition)

Of the pc industry's best-selling authors and academics go back with a brand new variation of the software program administration e-book that began a revolution.

With humor and knowledge drawn from years of administration and consulting adventure, DeMarco and Lister show that the main problems with software program improvement are human, now not technical—and that managers forget about them at their peril.

Beginning App Development with Parse and PhoneGap

Starting App improvement with Parse and PhoneGap teaches you the way to begin app improvement with Parse and PhoneGap: unfastened and open resource software program. utilizing the development block languages of the web--HTML, JavaScript, and CSS--you’ll be in your solution to making a absolutely operating product with minimum attempt as quickly as attainable.

Stand Back and Deliver: Accelerating Business Agility

Improve primary worth and identify aggressive virtue with management Agility   even if you’re major a firm, a staff, or a undertaking, Stand again and bring offers the agile management instruments you’ll have to in attaining step forward degrees of functionality. This publication brings jointly instantly usable frameworks and step by step methods that assist you concentration all of your efforts the place they subject such a lot: supplying company worth and construction aggressive virtue.

Software in 30 days: how agile managers beat the odds, delight their customers, and leave competitors in the dust

An intensive method of getting IT initiatives performed speedier and less expensive than a person thinks possible

Software in 30 Days summarizes the Agile and Scrum software program improvement strategy, which permits construction of game-changing software program, in exactly 30 days. tasks that use it are thrice extra winning than those who do not. software program in 30 Days is for the company supervisor, the entrepreneur, the product improvement supervisor, or IT supervisor who desires to strengthen software program larger and quicker than they now think attainable. find out how this unorthodox approach works, the way to start, and the way to be triumphant. keep watch over threat, deal with tasks, and feature your humans be triumphant with basic yet profound shifts within the thinking.
The authors clarify robust suggestions similar to the artwork of the potential, bottom-up intelligence, and why you'll want to fail early—all without chance more than thirty days.

* The productiveness achieve vs conventional "waterfall" equipment has been over a hundred% on many projects
* writer Ken Schwaber is a co-founder of the Agile software program circulation, and co-creator, with Jeff Sutherland, of the "Scrum" method for development software program in 30 days
* Coauthor Jeff Sutherland used to be cosigner of the Agile Manifesto, which marked the beginning of the Agile movement

Software in 30 Days is a must-read for all managers and enterprise vendors who use software program of their corporations or of their items and need to prevent the cycle of gradual, dear software program improvement. Programmers should want to purchase copies for his or her managers and their buyers so that they will know the way to collaborate to get the easiest paintings attainable.

Additional resources for Code Quality: The Open Source Perspective

Sample text

For this reason, when removing code elements, search through the source to locate related code that should also be removed. Finally, unnecessary functionality can appear in a program maliciously, in the form of a Trojan horse. 8. 14 Why are Easter eggs less prevalent in open source code applications? 15 What criteria would you use to decide whether to include debugging code in a production application? 16 Find which compilers optimize away code from conditional statements that can be evaluated at compile time.

In contrast to the Boolean AND and OR operators, which perform a lazy evaluation (they evaluate only as many terms as are required for establishing the expression's truth value), the bit AND and bit OR operators evaluate the whole expression. size()>0)) { Here, if a bitwise AND operator was used (&) and nodes was null, the second term would still be evaluated, resulting in a NullPointerException. One other operator-related trap occurs only in C/C++ programs. When a programmer uses the right-shift operator (>>) on a signed quantity and a negative value, the result of this operation is implementation defined.

Programmers often implement these to demonstrate their creativity and control over the software development process. For members of a programming team, walking to a random computer running software they have created and making it do something impressive (run a flight simulator in Microsoft Excel 97) can be an interesting stunt. c#59 #define PHP_EGG_LOGO_GUID \ "PHPE9568F36-D428-11d2-A769-00AA001ACF42" php_register_info_logo(PHP_EGG_LOGO_GUID, "image/gif", php_egg_logo, sizeof(php_egg_logo)) This particular Easter egg is even accessible over the internet through any server running the corresponding version of PHP.

Download PDF sample

Rated 4.84 of 5 – based on 30 votes

About the Author