Definition of Software Engineering
Software Engineering as a Discipline
You can write a program that works on your own laptop in an afternoon. Building a system that dozens of people develop, that thousands of users depend on and that must keep changing for a decade introduces additional challenges. This lesson defines software engineering as a discipline, explains what makes software an unusual material to engineer, and sorts the kinds of projects software engineers take on.
What software engineering is
The standard vocabulary published by the IEEE defines software engineering as the application of a systematic, disciplined, quantifiable approach to the development, operation and maintenance of software. Each adjective does work:
- Systematic: work follows a defined process instead of improvising each step.
- Disciplined: practitioners consistently apply appropriate methods, including under deadline pressure.
- Quantifiable: effort, size, defects and cost are measured to inform decisions.
The scope matters as much as the method. The definition covers development, operation and maintenance, so the engineering continues long after the first release. David Parnas highlighted the challenges of scale and change with the phrase "multi-person construction of multi-version software." This describes a common engineering setting; an individual developer can also apply software engineering.
Aspect | Programming focus | Broader software engineering responsibility |
|---|---|---|
Implementation | Express algorithms and behaviour in code | Ensure the implementation fits requirements and system design |
Quality | Write, test and debug code | Establish quality evidence across the system and its lifecycle |
Change | Modify code to implement a change | Assess effects on requirements, interfaces, operation and maintenance |
Programming can be collaborative, rigorously tested and maintained over many releases. It is an important activity within the broader discipline.
Why scale changes the problem
When every pair of team members may need to coordinate, the number of potential communication paths among n people is
Paths grow roughly with the square of team size. Example: four developers have 6 potential paths, while twelve have 66, so tripling the team multiplies the potential links by eleven.
The nature of software
Software is intangible: there is no raw material to machine, and its intricate structure is difficult to inspect directly. It does not physically wear out like a bearing. Poorly coordinated fixes and features can degrade its structure, while anticipated extensions and refactoring can preserve or improve it. Refactoring changes internal structure while preserving observable behaviour.
Fred Brooks, in his 1986 essay No Silver Bullet, named four essential difficulties that come from software itself rather than from poor tools:
- Complexity: interacting parts and possible states make behaviour difficult to understand and predict.
- Conformity: software must fit interfaces, laws and existing systems designed by other people.
- Changeability: successful software faces constant pressure to be modified.
- Invisibility: its structure has no natural geometric shape, so no single diagram captures it.
Kinds of software projects
Projects differ along several dimensions, and each one shifts how the engineering is done.
Dimension | Options | What it changes |
|---|---|---|
Who owns the specification | Generic product for many customers, or customized system for one client | Whether the developer or client primarily controls requirements |
Starting point | Greenfield new build, evolution of an existing system, or reengineering of legacy code | How much existing code constrains the design |
Criticality by failure consequences | Low consequence, business-critical, or safety-critical | The rigour needed to address inconvenience, major business loss, or harm to people |
Criticality categories need explicit consequence criteria; a system may have both business and safety consequences. Embedded deployment is a separate characteristic and does not by itself establish criticality.
A game built from scratch for general sale is generic and greenfield. An update commissioned by a hospital for its existing medication-dispensing controller is customized and evolutionary; if failure could harm patients, it is also safety-critical. Classification helps identify which risks deserve the most rigour.
What to remember
- Software engineering applies a systematic, disciplined, quantifiable approach to development, operation and maintenance; programming is one activity within it.
- Potential pairwise paths grow as n(n−1)/2; actual coordination cost depends on how work is organized.
- Complexity, conformity, changeability and invisibility make software hard to engineer. Change can degrade structure, but planned extensions and refactoring can preserve or improve it.
- Classify projects by specification ownership, starting point and failure consequences; embedded deployment is a separate characteristic.
Example: Planning a Growing Booking App
A five-developer startup built a booking app for fitness classes and sells it to independent studios. A national gym chain then contracts the startup to adapt the app into a version built only for the chain, integrated with the chain's membership database and payment system. To deliver it, the startup grows to 15 developers. The founders' planning estimates, which are illustrative figures rather than industry data, put the adaptation's build cost at $480,000 and its operation and maintenance at $160,000 per year over a 7-year contract.
a) Assuming every pair of developers may need to coordinate directly, by what factor does the number of pairwise communication paths grow when the team goes from 5 to 15 developers?
Count the paths with C=n(n−1)/2 for each team size.
The five-person team has ________ paths and the fifteen-person team has ________ paths. Divide the larger count by the smaller:
Tripling headcount multiplies the coordination links by 10.5, far more than the factor of 3 a linear guess would give. Written interface agreements and design documents can help the larger team coordinate its work.
b) Under the founders' estimates, what percentage of the adaptation's total lifecycle cost goes to operation and maintenance?
First total the operation and maintenance cost over the contract:
so operation and maintenance cost ________. Adding the build cost gives a lifecycle total of ________:
The share spent after release is
Under these estimates, 70% of the money is spent after the first release. That is why the definition of software engineering includes operation and maintenance, not only the initial build.
c) Classify the gym-chain adaptation by who owns the specification, its starting point and its criticality, and explain how changeability and conformity could contribute to its post-release costs.
Who owns the specification: the gym chain, a single client, defines the requirements, so this is a customized system rather than the generic product the startup sells to studios.
Starting point: the work adapts the existing booking app, so it is an evolution project. The original code constrains the design. If the two versions retain shared components, changes to those components must also preserve the behaviour needed by studio customers.
Criticality: it is undetermined from the supplied evidence. Handling bookings, memberships and payments identifies the application domain, but criticality depends on the consequences of failure. The scenario does not describe the losses, disruption or harm that failures could cause, so it does not establish whether the system is low-consequence, business-critical or safety-critical.
Changeability could contribute to maintenance costs if the chain requests new features or revised booking rules during the contract. Conformity could contribute because the app must fit the chain's membership and payment systems; changes to their interfaces could require corresponding updates to the app.
The adaptation is therefore a customized evolution project whose criticality remains undetermined. Changeability and conformity are plausible contributors to post-release costs, but the combined operation-and-maintenance estimate does not establish how much either contributes or which cause dominates.
Complete the IEEE standard definition: software engineering is the application of a systematic, disciplined, approach to the development, operation and of software.
A project team of 6 developers adds 3 more developers partway through a release. Assuming every pair of developers may need to coordinate directly, how many additional pairwise communication paths does the expansion create? Give your answer as a whole number.