How Software Is Built
How Software Is Built
Software Quality Series: Vol. 1
About the Book
How Software Is Built tackles the first requirement for developing Quality Software (the name of this series of books): learning to think correctly about problems, solutions, and quality itself. The book sets out guidelines that stimulate the kind of thinking needed.
Topics include a discussion of quality, software cultures, patterns of quality, patterns of management, feedback effects, the size/complexity dynamic in software engineering, the role of customers, and how to diagram causes and effects.
The book contains chapter summaries and many invaluable diagrams, as well as exercises, to bring home its lessons.
Here's a few of many five-star reviews:
"Weinberg addresses more clearly the form and essence of quality that we software people worry about... I can't imagine a better way to help change the thinking process in your organization than the wide-scale distribution of Jerry Weinberg's wonderful book." - Ed Yourdon, American Programmer
"I like Jerry Weinberg. He's a lunatic: I like that in a person. He writes from a technical and psychological perspective, describing how to think about what you do. . . . This series is one of my favorites." - Ron Jeffries, xprogramming.com
"The notation is so elegant that it takes almost no effort to learn and use it. The diagrams are simple and easy to understand and used in such a consistent manner that one has to wonder why this notation is not in widespread use. I hope it will be. . . ." —Software Quality World
"A must book for every software development manager." —C.C. Dilloway Computer Books Review
". . . very highly recommended!" —New Book Bulletin
"With the current frenzy for Total Quality Management, ISO 9000, and Baldrige Awards dominating the industry, it's refreshing to have someone as down-to-earth as Weinberg focusing on the need for high-quality management as a necessary prerequisite for high-quality software. . . . [a] people-oriented approach to quality." —Warren Keuffel. Computer Language
"This is one of those landmark books that comes along at the right time and addresses the right set of issues. . . . what makes this book unique and invaluable is the organization and presentation of the material. This is a book every software development manager should study." —Shel Siegel. CASE Trends
Bundles that include this book
Table of Contents
- How Software Is Built
-
New Preface
- Preface
-
Part I Patterns Of Quality
-
Chapter 1: What Is Quality? Why Is It Important?
- 1.1 A Tale Of Software Quality
-
1.2 The Relativity of Quality
- 1.2.1. Finding the relativity
- 1.2.2 Who was that masked man?
- 1.2.3 The political dilemma
- 1.3 Quality Is Value To Some Person
- 1.4 Another Story About Quality
-
1.5. Why Improving Quality Is So Difficult
- 1.5.1. “It’s not too bad.”
- 1.5.2. “It’s not possible.”
- 1.5.3. The lock-on
- 1.6. Software Culture and Subcultures
- 1.7. Helpful Hints and Suggestions
- 1.8. Summary
- 1.9. Practice
-
Chapter 2. Software Subcultures
-
2.1 Applying Crosby’s Ideas to Software
- 2.1.1 Conformance to requirements is not enough
- 2.1.2 “Zero Defects” is not realistic in most projects
- 2.1.3 There is an “economics of quality”
- 2.1.4 Any pattern can be a success
- 2.1.5 “Maturity” is not the right word
- 2.2 Six Software Sub-Cultural Patterns
- 2.3 Pattern 0: Oblivious
-
2.4 Pattern 1: Variable
- 2.4.1 The superprogrammer image
- 2.4.2 When Pattern 1 is successful
- 2.4.3 The ideal development structure
-
2.5 Pattern 2: Routine (but Unstable)
- 2.5.1 The super-leader image
- 2.4.2 When Pattern 2 is successful
- 2.4.3 The ideal development structure
-
2.6 Pattern 3: Steering
- 2.6.1 The competent manager
- 2.6.2 When Pattern 3 is successful
- 2.6.3 The ideal development structure
- 2.7 Pattern 4: Anticipating
- 2.8 Pattern 5: Congruent
- 2.9. Helpful Hints and Variations
- 2.10. Summary
- 2.11. Practice
-
2.1 Applying Crosby’s Ideas to Software
-
Chapter 3. What Is Needed To Change Patterns?
-
3.1 Changing Thought Patterns
- 3.1.1 Thought and communication in various patterns
- 3.1.2 Using models to change thinking patterns
- 3.1.3 How precise should the models be?
- 3.1.4 What models do for us
-
3.2 Choosing A Better Pattern
- 3.2.1 Is your present pattern good enough?
- 3.2.2 Organizational demands
- 3.2.3 Customer demands
- 3.2.4 Problem demands
- 3.2.5 Choosing a point in “pattern space”
- 3.2.6 The temptation to stagnate
-
3.3 Opening Patterns to Information
- 3.3.1 Circular argument
- 3.3.2 The classic software circle
- 3.3.3 The key to opening closed circles
- 3.3.4 Developing trust
- 3.4. Helpful Hints and Variations
- 3.5. Summary
- 3.6. Practice
-
3.1 Changing Thought Patterns
-
Chapter 1: What Is Quality? Why Is It Important?
-
Part II Patterns Of Managing
-
Chapter 4: Control Patterns for Management
- 4.1 Shooting at Moving Targets
-
4.2 The Aggregate Control Model
- 4.2.1 Aggregation in the software industry as a whole
- 4.2.2 Aggregation in a single organization
- 4.2.3 Natural selection in a Pattern 1 Organization
- 4.2.4 Why aggregation is popular in Pattern 2 organizations
- 4.2.5 Aggregation in other patterns
-
4.3 Patterns and Their Cybernetic Control Models
- 4.3.1 The system to be controlled (the focus of Patterns 0 and 1)
-
4.3.2 The controller (the focus of Pattern 2)
- 4.3.3 Feedback control (the focus of Pattern 3)
-
4.4 Engineering Management
- 4.4.1 The job of management
- 4.4.2. No plan for what should happen
- 4.4.3. Failure to observe what significant things are really happening
- 4.4.4. Failure to compare the observed with the planned
- 4.4.5. Not taking action to bring actual closer to planned
- 4.5. From Computer Science to Software Engineering
- 4.6. Helpful Hints and Variations
- 4.7. Summary
- 4.8. Practice
-
Chapter 5 Making Explicit Management Models
-
5.1 Why Things Go Awry
- 5.1.1 The role of system models
- 5.1.2. Implicit models
- 5.1.3 Inability to face reality
- 5.1.4 Incorrect models
-
5.2 Linear Models and Their Fallacies
- 5.2.1 Additivity fallacies
- 5.2.2 Scaling fallacies
- 5.3 The Diagram of Effects
-
5.4 Developing a Diagram of Effects from Output Backwards
- 5.4.1. Starting with the output
- 5.4.2. Brainstorming backwards effects
- 5.4.3. Charting the backwards effects
- 5.4.4. Charting secondary effects
- 5.4.5. Tracing the secondary effects
- 5.4.6. Explicitly indicating multiplicative effects
- 5.5. Non-linearity Is the Reason Things Go Awry
- 5.6. Helpful Hints and Suggestions
- 5.7. Summary
- 5.8. Practice
-
5.1 Why Things Go Awry
-
Chapter 6: Feedback Effects
- 6.1 The Humpty Dumpty Syndrome
-
6.2 Runaway, Explosion and Collapse
- 6.2.1. The Reversible Fallacy
- 6.2.2. The Causation Fallacy
- 6.2.3. Irreversiblity: explosion or collapse
-
6.3. Act Early, Act Small
- 6.3.1 Brooks’s Law made worse by management action
- 6.3.2 The Generalized Brooks’s Law
-
6.4. Negative Feedback—Why Everything Doesn’t Collapse
- 6.4.1 A system waiting for a disaster to happen
- 6.4.2 Negative feedback loops
- 6.4.3 How feedback loops regulate
- 6.5. Helpful Hints and Suggestions
- 6.6. Summary
- 6.7. Practice
-
Chapter 7: Steering Software
-
7.1. Methodologies and Feedback Control
- 7.1.1 Plans: the great contribution of Pattern 2
- 7.1.2 Why pure sequential methods don’t always work
- 7.1.3 Methodologies can discourage innovation
- 7.1.4 Adding feedback to the methodology
- 7.1.5 Keeping the feedback early and small
- 7.1.5 Applying the feedback at different levels
-
7.1. Methodologies and Feedback Control
-
7.2. The Human Decision Point
-
7.2.1 Intervention models and invisible states
- 7.2.2 Visualizing the invisible
- 7.3 It’s Not The Event That Counts, It’s Your Reaction To The Event
- 7.4 Helpful Hints and Suggestions
- 7.5 Summary
- 7.6 Practice
-
7.2.1 Intervention models and invisible states
-
Chapter 8: Failing to Steer
-
8.1. “I’m Just a Victim”
- 8.1.1. What distinguishes failures from successes?
- 8.1.2 Victim language
- 8.2. “I Don’t Want to Hear Any of That Negative Talk.”
- 8.3. “I Thought I Was Doing The Right Thing.”
- 8.4 Helpful Hints and Suggestions
- 8.5 Summary
- 8.6. Practice
-
8.1. “I’m Just a Victim”
-
Chapter 4: Control Patterns for Management
-
Part III Demands That Stress Patterns
-
Chapter 9: Why It’s Always Hard to Steer
- 9.1. The “Game of Control”
-
9.1.1 The Square Law of Computation
- 9.1.2 Control as a game
- 9.1.3 How complex is chess?
- 9.1.4 Computational complexity
- 9.1.5 Simplification by general principles
- 9.1.6 The Size/Complexity Dynamic
-
9.2 The Size/Complexity Dynamic in Software Engineering
- 9.2.1 The history of software
- 9.2.2 The history of software engineering
- 9.2.3. Games against Nature
- 9.2.4. The Fault Location Dynamic
- 9.2.5. The Human Interaction Dynamic
- 9.3 Helpful Hints and Suggestions
- 9.4 Summary
- 9.5 Practice
-
Chapter 10: What It Takes To Be Helpful
-
10.1 Reasoning Graphically about the Size/Complexity Dynamic
- 10.1.1. Size vs. brainpower
- 10.1.2 The size vs. effort curve
- 10.1.3 Variation and the Log-Log Law
-
10.2. Comparing Patterns and Technologies
- 10.2.1. Comparing with a size/effort curve
- 10.2.2 Seeing through the data
- 10.2.3. Combining two methods into a composite pattern
- 10.2.4. Choosing for reasons other than effort
- 10.2.5. Reducing the risk of change
-
10.3 Helpful Interactions
- 10.3.1. Do no harm.
- 10.3.2 The Helpful Model
- 10.3.3 The Principle of Addition
- 10.3.4. Adding to the repertoire of models
- 10.4 Helpful Hints and Suggestions
- 10.5 Summary
- 10.6 Practice
-
10.1 Reasoning Graphically about the Size/Complexity Dynamic
-
Chapter 11: Responses to Customer Demands
-
11.1 Customers Can Be Dangerous To Your Health
- 11.1.1 More customers increase the development load
- 11.1.2 More customers increase the maintenance load
- 11.1.3 Close contact with customers can be disruptive
- 11.1.4 You can be disruptive to your customers.
- 11.1.5 What happens when you have many customers
-
11.2 The Cast of Outsiders
- 11.2.1 Customers and users
- 11.2.2 The marketing department
- 11.2.3 Other surrogates
- 11.2.4 Programmers as self-appointed user surrogates
- 11.2.5 Testers as official and unofficial surrogates
- 11.2.6 Other unplanned surrogates
-
11.3 Interactions With Customers
- 11.3.1 The dynamics of interruption
- 11.3.2. Interrupted meetings
- 11.3.3 Meeting size and frequency
-
11.4 Configuration Support
- 11.4.1 Effects on test coverage and repair time
- 11.4.2 Analyzing the testing situation externally—an Apple example
-
11.5 Releases
- 11.5.1 Pre- and post-release dynamics
- 11.5.2 Multiple versions
- 11.5.3 Release frequency
- 11.6. Helpful Hints and Suggestions
- 11.7. Summary
- 11.8. Practice
-
11.1 Customers Can Be Dangerous To Your Health
-
Chapter 9: Why It’s Always Hard to Steer
- What Next?
Other books by this author
Authors have earned$9,883,643writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.
Learn more about writing on Leanpub
The Leanpub 45-day 100% Happiness Guarantee
Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
Top Books
C++ Best Practices
Jason TurnerLevel up your C++, get the tools working for you, eliminate common problems, and move on to more exciting things!
OpenIntro Statistics
David Diez, Christopher Barr, Mine Cetinkaya-Rundel, and OpenIntroA complete foundation for Statistics, also serving as a foundation for Data Science.
Leanpub revenue supports OpenIntro (US-based nonprofit) so we can provide free desk copies to teachers interested in using OpenIntro Statistics in the classroom and expand the project to support free textbooks in other subjects.
More resources: openintro.org.
Functional Design and Architecture
Alexander GraninSoftware Design in Functional Programming, Design Patterns and Practices, Methodologies and Application Architectures. How to build real software in Haskell with less efforts and low risks. The first complete source of knowledge.
R Programming for Data Science
Roger D. PengThis book brings the fundamentals of R programming to you, using the same material developed as part of the industry-leading Johns Hopkins Data Science Specialization. The skills taught in this book will lay the foundation for you to begin your journey learning data science. Printed copies of this book are available through Lulu.
C++20
Rainer GrimmC++20 is the next big C++ standard after C++11. As C++11 did it, C++20 changes the way we program modern C++. This change is, in particular, due to the big four of C++20: ranges, coroutines, concepts, and modules.
I am a Software Engineer and I am in Charge
Alexis Monville and Michael DoyleI am a Software Engineer and I am in Charge is a real-world, practical book that helps you increase your impact and satisfaction at work no matter who you work with.
In the book, we will follow Sandrine, a fictional character who learns to think in a new way enabling her to take a different course of action.
Atomic Kotlin
Bruce Eckel and Svetlana IsakovaFor both beginning and experienced programmers! From the author of the multi-award-winning Thinking in C++ and Thinking in Java together with a member of the Kotlin language team comes a book that breaks the concepts into small, easy-to-digest "atoms," along with exercises supported by hints and solutions directly inside IntelliJ IDEA!
Invest In Digital Health - The Medical Futurist's Guide
Dr. Bertalan MeskoArtificial Intelligence and Digital Health are booming. In this book, we explain why now it's a good time to invest in Digital Health and give recommendations on where to invest by looking at the top 24 technological trends we find the most promising.
The Hundred-Page Machine Learning Book
Andriy BurkovEverything you really need to know in Machine Learning in a hundred pages.
Mastering STM32
Carmine NovielloWith more than 600 microcontrollers, STM32 is probably the most complete ARM Cortex-M platform on the market. This book aims to be the first guide around that introduces the reader to this exciting MCU portfolio from ST Microelectronics and its official CubeHAL.
Top Bundles
- #1
Software Architecture for Developers: Volumes 1 & 2 - Technical leadership and communication
2 Books
"Software Architecture for Developers" is a practical and pragmatic guide to modern, lightweight software architecture, specifically aimed at developers. You'll learn:The essence of software architecture.Why the software architecture role should include coding, coaching and collaboration.The things that you really need to think about before... - #2
CCIE Service Provider Ultimate Study Bundle
2 Books
Piotr Jablonski, Lukasz Bromirski, and Nick Russo have joined forces to deliver the only CCIE Service Provider training resource you'll ever need. This bundle contains a detailed and challenging collection of workbook labs, plus an extensively detailed technical reference guide. All of us have earned the CCIE Service Provider certification... - #3
The Future of Digital Health
6 Books
We put together the most popular books from The Medical Futurist to provide a clear picture about the major trends shaping the future of medicine and healthcare. Digital health technologies, artificial intelligence, the future of 20 medical specialties, big pharma, data privacy and how technology giants such as Amazon or Google want to conquer... - #4
Cisco CCNA 200-301 Complet
4 Books
Ce lot comprend les quatre volumes du guide préparation à l'examen de certification Cisco CCNA 200-301. - #5
CCDE Practical Studies (All labs)
3 Books
CCDE lab - #6
"The C++ Standard Library" and "Concurrency with Modern C++"
2 Books
Get my books "The C++ Standard Library" and "Concurrency with Modern C++" in a bundle. The first book gives you the details you should know about the C++ standard library; the second one dives deeper into concurrency with modern C++. In sum, you get more than 600 pages full of modern C++ and about 250 source files presenting the standard library... - #7
Modern Management Made Easy
3 Books
Read all three Modern Management Made Easy books. Learn to manage yourself, lead and serve others, and lead the organization. - #8
Linux Administration Complet
4 Books
Ce lot comprend les quatre volumes du Guide Linux Administration :Linux Administration, Volume 1, Administration fondamentale : Guide pratique de préparation aux examens de certification LPIC 1, Linux Essentials, RHCSA et LFCS. Administration fondamentale. Introduction à Linux. Le Shell. Traitement du texte. Arborescence de fichiers. Sécurité... - #9
Programming with Ease
3 Books
Alle drei Bände der Serie Programming with Ease in einem Paket. Darin findest du alles, was ich dir zu den wichtigsten Phasen der Softwareentwicklung im Hinblick auf Clean Code Development für langfristig hohe Produktivität sagen kann.Im Band Slicing findest du die Anforderungsanalyse im Rahmen eines iterativ-inkrementellen Vorgehensmodells aus... - #10
Vagrant Ansible
2 Books
Unveil the power of Ansible and Vagrant with this bundle at a special price. You'll have everything you need to get started with Vagrant - learn the basics and how to create your virtual development environments, using Ansible as provisioner! About Vagrant Cookbook Vagrant Cookbook is a complete guide to get started with Vagrant and create your...