This book puts the engineering back into software engineering . In it, I describe a practical approach to software development that applies a consciously rational, scientific style of thinking to solving problems. These ideas stem from consistently applying what we have learned about software development over the last few decades.
My ambition for this book is to convince you that engineering is perhaps not what you think it is and that it is completely appropriate and effective when applied to software development. I will then proceed to describe the foundations of such an engineering approach to software and how and why it works.
This is not about the latest fads in process or technology, but rather proven, practical approaches where we have the data that shows us what works and what doesn’t.
Working iteratively in small steps works better than not. Organizing our work into a series of small, informal experiments and gathering feedback to inform our learning allows us to proceed more deliberately and to explore the problem and solution spaces that we inhabit. Compartmentalizing our work so that each part is focused, clear, and understandable allows us to evolve our systems safely and deliberately even when we don’t understand the destination before we begin.
This approach provides us with guidance on where to focus and what to focus on, even when we don’t know the answers. It improves our chances of success, whatever the nature of the challenge that we are presented with.
In this book, I define a model for how we organize ourselves to create great software and how we can do that efficiently, and at any scale, for genuinely complex systems, as well as for simpler ones.
There have always been groups of people who have done excellent work. We have benefitted from innovative pioneers who have shown us what is possible. In recent years, though, our industry has learned how to better explain what really works. We now better understand what ideas are more generic and can be applied more widely, and we have data to back up this learning.
We can more reliably build software better and faster, and we have data to back that up. We can solve world-class, difficult problems, and we have experience with many successful projects, and
companies, to back those claims, too.
This approach assembles a collection of important foundational ideas and builds on the work that went before. At one level there is nothing that is new here in terms of novel practices, but the approach that I describe assembles important ideas and practices into a coherent whole and gives us principles on which a software engineering discipline may be built.
This is not a random collection of disparate ideas. These ideas are intimately entwined and mutually reinforcing. When they come together and are applied consistently to how we think about, organize, and undertake our work, they have a significant impact on the efficiency and the quality of that work. This is a fundamentally different way of thinking about what it is that we do, even though each idea in isolation may be familiar. When these things come together and are applied as guiding principles for decision-making in software, it represents a new paradigm for development.
We are learning what software engineering really means, and it is not always what we expected.
Engineering is about adopting a scientific, rationalist approach to solving practical problems within economic constraints, but that doesn’t mean that such an approach is either theoretical or bureaucratic. Almost by definition, engineering is pragmatic.
Past attempts at defining software engineering have made the mistake of being too proscriptive, defining specific tools or technologies. Software engineering is more than the code that we write and the tools that we use. Software engineering is not production engineering in any form; that is not our problem. If when I say engineering it makes you think bureaucracy, please read this book and think again.
Software engineering is not the same thing as computer science, though we often confuse the two. We need both software engineers and computer scientists. This book is about the discipline, process, and ideas that we need to apply to reliably and repeatably create better software.
To be worthy of the name, we would expect an engineering discipline for software to help us solve the problems that face us with higher quality and more efficiency.
Such an engineering approach would also help us solve problems that we haven’t thought of yet, using technologies that haven’t been invented yet. The ideas of such a discipline would be general, durable, and pervasive.
This book is an attempt to define a collection of such closely related, interlinked ideas. My aim is to assemble them into something coherent that we can treat as an approach that informs nearly all of the decisions that we make as software developers and software development teams.
Software engineering as a concept, if it is to have any meaning at all, must provide us with an advantage, not merely an opportunity to adopt new tools.
All ideas aren’t equal. There are good ideas, and there are bad ideas, so how can we tell the difference? What principles could we apply that will allow us to evaluate any new idea in software and software development and decide if it will likely be good or bad?
Anything that can justifiably be classified as an engineering approach to solving problems in software will be generally applicable and foundational in scope. This book is about those ideas. What criteria should you use to choose your tools? How should you organize your work? How should you organize the systems that you build and the code that you write to increase your chances of success in their creation?
A Definition of Software Engineering?
I make the claim in this book that we should think of software engineering in these terms:
Software engineering is the application of an empirical, scientific approach to finding efficient, economic solutions to practical problems in software.
My aim is an ambitious one. I want to propose an outline, a structure, an approach that we could consider to be a genuine engineering discipline for software. At the root this is based in three key ideas.
-
Science and its practical application “engineering” are vital tools in making effective progress in technical disciplines.
-
Our discipline is fundamentally one of learning and discovery, so we need to become experts at learning to succeed, and science and engineering are how we learn most effectively.
-
Finally, the systems that we build are often complex and are increasingly so. Meaning, to cope with their development, we need to become experts at managing that complexity .
What Is in This Book?
Part I , “What Is Software Engineering?”, begins by looking at what engineering really means in the context of software. This is about the principles and philosophy of engineering and how we can apply these ideas to software. This is a technical philosophy for software development.
Part II , “Optimize for Learning,” looks at how we organize our work to allow us to make progress in small steps. How do we evaluate if we are making good progress or merely creating tomorrow’s legacy system today?
Part III , “Optimize for Managing Complexity,” explores the principles and techniques necessary for managing complexity. This explores each of these principles in more depth and their meaning and applicability in the creation of high-quality software, whatever its nature.
The final section, Part IV , “Tools to Support Engineering in Software,” describes the ideas and approaches to work that maximize our opportunities to learn and facilitate our ability to make progress in small steps and to manage the complexity of our systems as they grow.
Sprinkled throughout this book, as sidebars, are reflections on the history and philosophy of software engineering and how thinking has progressed. These inserts provide helpful context to many of the ideas in this book.
Register your copy of Modern Software Engineering on the InformIT site for convenient access to updates and/or corrections as they become available. To start the registration process, go to informit.com/register and log in or create an account. Enter the product ISBN (9780137314911) and click Submit. Look on the Registered Products tab for an Access Bonus Content link next to this product, and follow that link to access any available bonus materials. If you would like to be notified of exclusive offers on new editions and updates, please check the box to receive email from us.