Software engineering
Software engineering is the use of engineering methods to build and look after software. Its standard definition calls it "the application of a systematic, disciplined, quantifiable approach to the development, operation, and maintenance of software", where quantifiable means measurable.[1]
Software engineers plan, design, write, and test programs, then keep them running and change them for as long as people use them. The field also covers people and teams, including cost estimates, project management, quality, security, and ethics.
What software engineers do
Software engineering is more than writing code. The IEEE Computer Society's guide to the field, the Software Engineering Body of Knowledge (SWEBOK), sorts the field into 18 knowledge areas, and several of them describe the core activities.[2][3]
- Requirements: work out and record the needs and limits the software must meet.[4]
- Architecture and design: choose the overall structure, then turn the requirements into a plan for the code.[4]
- Construction: turn the design into working code, with coding, unit testing (testing one function or module by itself), and debugging.[4][5]
- Testing: run the software on chosen cases to check that it behaves as expected.[4]
- Operations: deploy the software (install and release it for users), then run and support it.[4]
- Maintenance: change the software after delivery to fix, adapt, and improve it.[4]
Programming versus software engineering
Programming is the act of producing code, while software engineering also keeps that code useful over its whole life. Engineers at Google describe the difference in terms of time, scale, and trade-offs.[6] Code meant to run for an hour is "just" a programming problem, but over a decade most of a program's dependencies will likely change.[6]
Scale adds people to the problem. A programming task is often one person's work, but a software engineering task is a team effort.[6]
Engineers must also weigh trade-offs, such as when to put off a cleanup, and make the costs of those choices clear.[6]
Why software is hard to build
Software has properties that make it harder to build than most physical products. Fred Brooks argued in his 1986 essay "No Silver Bullet" that the hard part is the specification, design, and testing of the ideas inside a program, not the labor of typing them in.[7] He named four properties that cannot be removed.[7]
| Property | What Brooks meant |
|---|---|
| Complexity | No two parts are alike above the statement level (the level of single instructions), so complexity grows much faster than size. |
| Conformity | Software must fit many arbitrary interfaces, the connection points to other systems, made by people and institutions. |
| Changeability | Successful software is always under pressure to change, and it is easy to change. |
| Invisibility | Software has no natural geometric shape, so it is hard to draw and picture. |
Brooks predicted that no single development in technology or management would by itself bring even a tenfold gain within a decade in productivity, reliability, or simplicity.[7]
Team size and communication
Adding people to a project does not shrink the schedule by the same amount. In The Mythical Man-Month (1975), Brooks stated what became known as Brooks's law: "Adding manpower to a late software project makes it later."[8] New people must be trained, and every pair of workers may need to coordinate.[9]
When each part of the task must be coordinated with each other part, Brooks wrote that the effort grows with the number of pairs:[9]
Here is the number of workers and is the number of pairwise communication paths. Three workers have three paths and four have six, so four workers need six times as much pairwise communication as two.[9]
History
The field grew out of computer science and programming in the late 1960s, when many people saw a "software crisis" in the building of large systems.[10]
The software crisis and the NATO conferences
In 1967 the NATO Science Committee set up a study group on computer science, which recommended a working conference on software engineering.[11] The phrase "software engineering" was "deliberately chosen as being provocative", implying that software should rest on the theory and discipline of established engineering.[11] Brian Randell, one of the report's editors, recalls that the idea came from Friedrich L. Bauer.[12]
Two conferences followed, both covered in NATO Software Engineering Conferences.
- Garmisch, Germany, 7 to 11 October 1968: more than fifty people from eleven countries attended.[12][11] Randell later wrote that the term was accepted there as expressing "a need rather than a reality".[10] Douglas McIlroy gave a talk on "mass produced" software components and said software production sat below "the more backward construction industries".[11]
- Rome, Italy, 27 to 31 October 1969: Randell describes it as far less harmonious than the first.[12]
Edsger W. Dijkstra explained the software crisis in his 1972 Turing Award lecture. As computers grew several orders of magnitude more powerful, he said, society's ambitions for them grew too, and programming became "an equally gigantic problem".[13]
Margaret Hamilton and Apollo
Margaret Hamilton is credited with coining the term "software engineering" while working on Apollo guidance software at the MIT Instrumentation Laboratory.[14] She said she began using it so that software would be respected, and to treat each type of engineering as part of "the overall systems engineering process", the design and coordination of a whole system of connected parts.[15]
By 1968 more than 400 people were working on Apollo's software.[15] During the Apollo 11 landing in July 1969, the onboard computer raised a 1202 alarm because it was overloaded. The priority-driven software built by Hamilton's team dropped less important tasks so the landing could go on.[15]
Methods and models, 1970 to 2000
- 1970: Winston W. Royce described a sequence of stages from requirements to operations. He called the plain version "risky" and said it "invites failure", and he added steps such as building a pilot version first.[16]
- 1976: Michael Fagan reported that formal inspections of design and code improved quality and productivity at IBM.[17]
- 1981: Barry Boehm published Software Engineering Economics, which introduced the COCOMO cost model.[18]
- 1988: Boehm published the spiral model, a "risk-driven" approach to the software process.[19]
- 1991: The Software Engineering Institute released version 1.0 of the Capability Maturity Model, based on the vision of Watts Humphrey.[20]
- 1992: Ward Cunningham wrote that "shipping first time code is like going into debt", the origin of technical debt.[21]
Agile, DevOps, and AI tools
In February 2001, seventeen people met at Snowbird, Utah, and wrote the Manifesto for Agile Software Development.[22] They included people from Extreme Programming, Scrum, and other "lightweight" methods.[22]
DevOps followed later in the decade. Patrick Debois organized the first devopsdays in Ghent, Belgium, in 2009.[23]
Version 4 of SWEBOK, released in 2024, worked Agile and DevOps into several knowledge areas. It also added a new knowledge area on operations, where the old line between development and operations has blurred.[2][24][4]
Large language models are now used to write and fix code (see AI-assisted software development). The SWE-bench benchmark, introduced in 2023, tests them on 2,294 real GitHub issues from 12 Python projects. When it was released, the best model solved only 1.96% of them.[25]
Process models
A software development process decides the order in which teams do the core activities. Most models differ in how they handle change and risk.
| Model | Main idea | How change is handled |
|---|---|---|
| Waterfall style | Stages run in order, from requirements to operations.[16] | Royce noted that problems found in late testing can force a major redesign.[16] |
| Spiral | Repeated cycles, each driven by the biggest risks.[19] | High-risk parts are worked out in detail first.[19] |
| Agile | Short cycles that deliver working software. | Values "responding to change over following a plan".[26] |
| DevOps | Development and operations work as one.[4] | Frequent, measured releases into production, the live system that users rely on.[27] |
The Agile Manifesto
The manifesto states four values. Its authors wrote that while the items on the right have value, they value the items on the left more.[26]
- Individuals and interactions over processes and tools
- Working software over comprehensive documentation
- Customer collaboration over contract negotiation
- Responding to change over following a plan
Process maturity
Some organizations judge their process against a maturity scale. The Capability Maturity Model for Software has five levels: Initial, Repeatable, Defined, Managed, and Optimizing.[20] Humphrey brought the maturity framework to the SEI in 1986 and added the idea of levels.[20]
Quality, testing, and maintenance
Verification and validation
Quality work asks two different questions. Verification asks "Are we building the product right?" and validation asks "Are we building the right product?"[28] See software verification and validation.
Testing
Testing runs the software on a limited set of chosen cases, picked from a possibly infinite range of inputs.[4] SWEBOK groups tests by their target into four levels.[3]
- Unit testing checks one function or module alone.[5]
- Integration testing checks that parts work together.[3]
- System testing checks the whole product.[3]
- Acceptance testing checks the product against what the customer needs.[3]
Testing has a known limit. Dijkstra wrote that testing "can be a very effective way to show the presence of bugs, but is hopelessly inadequate for showing their absence".[13] He argued that the program and its correctness proof should "grow hand in hand", an idea behind formal methods.[13]
Teams also find errors without running code, through code review and static analysis.
Maintenance
Software keeps changing after delivery, and the standard ISO/IEC/IEEE 14764 sorts these changes by purpose.[29]
| Type | What it does |
|---|---|
| Corrective | Fixes problems found after delivery. |
| Preventive | Fixes hidden faults before they cause failures. |
| Adaptive | Adjusts the software to a changed environment. |
| Perfective | Improves performance, maintainability (how easy the software is to change), or other qualities. |
| Additive | An enhancement type that some organizations use, kept separate from perfective. |
The standard notes that adaptive work can come from requests classed as either enhancements or corrections. It also notes that SWEBOK groups changes as reactive (corrective and adaptive) or proactive (preventive, perfective, and additive).[29]
Shortcuts taken now can make later changes cost more. Cunningham described this as debt that must be "paid back promptly with a rewrite".[21]
Teams track every version of their code with configuration management and version control.
Measurement and economics
Software engineering tries to measure its work with numbers, the "quantifiable" part of the definition. Two common uses are estimating cost before a project and measuring delivery while it runs. See software metric and software project management.
Estimating effort with COCOMO
Basic COCOMO predicts effort from the expected size of the program.[18]
Here is the effort in person-months (one person-month is the work one person does in one month), and KLOC is the estimated number of delivered lines of code, in thousands. The constants and depend on the type of project.[18]
| Project type | Description | ||
|---|---|---|---|
| Organic | Small teams with good experience and flexible requirements | 2.4 | 1.05 |
| Semi-detached | Medium size, mixed experience and requirements | 3.0 | 1.12 |
| Embedded | Tight hardware, software, and operating limits | 3.6 | 1.20 |
Because is greater than 1 in every row, effort grows faster than size. Doubling the size multiplies effort by , which is about 2.07 for organic projects and about 2.30 for embedded ones.
Delivery metrics
Modern teams often measure how fast and how safely they ship changes. The DORA research program uses five software delivery metrics.[27]
- Change lead time: time from a commit (a saved change recorded in version control) to deployment in production.
- Deployment frequency: how often deployments happen.
- Failed deployment recovery time: time to recover from a failed deployment.
- Change fail rate: share of deployments that need immediate action, such as a rollback (undoing the release).
- Deployment rework rate: share of unplanned deployments caused by incidents.
DORA reports that these metrics predict better organizational performance and team well-being.[27]
The profession
Education
Universities offer degrees in software engineering, such as the Bachelor of Software Engineering, as well as in computer science. The ACM and the IEEE Computer Society publish curriculum guidelines for these degrees, first as Software Engineering 2004 and then as SE2014.[30] In the United States, software developers typically need a bachelor's degree in a computing or related field.[31]
Licensing
In 1998 the Texas Board of Professional Engineers licensed Don Bagert as the first professional engineer in software engineering in the United States (see regulation and licensure in engineering).[32] A national licensing exam in software engineering was first given in 2013.[33] In its first five exam sessions it drew a total of only 81 candidates, and NCEES ended it after the April 2019 session.[33]
Ethics
The ACM and the IEEE Computer Society jointly approved the Software Engineering Code of Ethics and Professional Practice.[34] The code makes the public interest central, putting "the health, safety and welfare of the public" first. Its eight principles cover:[34]
- the public
- client and employer
- product
- judgment
- management
- profession
- colleagues
- self
Jobs
The US Bureau of Labor Statistics counted about 1.7 million software developer jobs in 2025.[31] It projects that employment of software developers, quality assurance analysts, and testers will grow 10 percent from 2025 to 2035. The median annual wage for software developers was $135,980 in May 2025.[31]
Debates
Is it really engineering?
Whether software work is true engineering has been argued since the name was chosen. At the 1968 conference there was general agreement that software engineering was at a very early stage compared with established engineering.[11] Randell recalls that at Rome a year later, some participants talked as if the subject already existed.[10]
Some leading figures rejected the label. In 1988 Dijkstra wrote that software engineering had accepted as its charter "How to program if you cannot", and called it "The Doomed Discipline".[35] Randell himself refused to use the term for about ten years after the Rome conference.[12]
Limits of progress
Randell noted in 2018 that some large one-off software projects still suffer problems reminiscent of the 1968 crisis.[10]
AI benchmarks raise their own questions. SWE-bench Verified is a 500-issue version of SWE-bench that is widely used to compare AI coding tools.[36] A 2025 study found that models could name the buggy file from the issue text alone up to 76% of the time on SWE-bench Verified, but only up to 53% on projects outside the benchmark, which points to possible memorization.[37]
References
- Guide to the Software Engineering Body of Knowledge, Version 3.0, IEEE Computer Society, 2014.
- Software Engineering Body of Knowledge (SWEBOK), IEEE Computer Society, 2024.
- SWEBOK Guide V4.0 Topics, IEEE Computer Society, 2024.
- SFIA v9 and SWEBOK v4: The guide to the software engineering body of knowledge, SFIA Foundation, summarising SWEBOK V4.
- Software testing, IEEE Technology Navigator.
- What Is Software Engineering?, in Software Engineering at Google, O'Reilly, 2020.
- No Silver Bullet: Essence and Accident in Software Engineering, Frederick P. Brooks, 1986.
- Mythical Man Month, Martin Fowler.
- The Mythical Man-Month, Frederick P. Brooks, annotated reprint, Fermat's Library.
- Fifty Years of Software Engineering, or The View from Garmisch, Brian Randell, arXiv, 2018.
- Software Engineering: Report on a Conference Sponsored by the NATO Science Committee, Garmisch, Germany, 7th to 11th October 1968, P. Naur and B. Randell (eds.), NATO, 1969.
- The 1968/69 NATO Software Engineering Reports, Brian Randell, Newcastle University.
- The Humble Programmer (EWD 340), Edsger W. Dijkstra, 1972.
- What to Know About the Scientist Who Invented the Term "Software Engineering", IEEE Computer Society.
- Margaret Hamilton, computing pioneer who led software development for the Apollo program, dies at 90, MIT News, 2026.
- Managing the Development of Large Software Systems, Winston W. Royce, 1970.
- Design and Code Inspections to Reduce Errors in Program Development, M. E. Fagan, IBM Systems Journal, 1976.
- Information about Cocomo calculation, Arthur de Jong, citing B. W. Boehm, Software Engineering Economics, 1981.
- A Spiral Model of Software Development and Enhancement, B. W. Boehm, Computer, 1988.
- Capability Maturity Model for Software, Version 1.1, Software Engineering Institute, 1993.
- The WyCash Portfolio Management System, Ward Cunningham, OOPSLA, 1992.
- History: The Agile Manifesto, agilemanifesto.org, 2001.
- About devopsdays, devopsdays.org.
- Guide to the SWEBOK v4.0 Has Been Released, Basic Input/Output, 2024.
- SWE-bench: Can Language Models Resolve Real-World GitHub Issues?, C. E. Jimenez et al., arXiv, 2023.
- Manifesto for Agile Software Development, 2001.
- DORA's software delivery performance metrics, DORA.
- IV&V Overview, NASA.
- ISO/IEC/IEEE 14764:2022 Software engineering, Software life cycle processes, Maintenance (preview), ISO/IEC/IEEE, 2022.
- Software Engineering 2014: Curriculum Guidelines for Undergraduate Degree Programs in Software Engineering, ACM and IEEE Computer Society, 2015.
- Software Developers, Quality Assurance Analysts, and Testers, Occupational Outlook Handbook, U.S. Bureau of Labor Statistics.
- Finally, a PE Path for Software Engineers, NSPE, 2012.
- NCEES discontinuing PE Software Engineering exam, NCEES, 2018.
- The Software Engineering Code of Ethics and Professional Practice, ACM.
- On the Cruelty of Really Teaching Computing Science (EWD 1036), Edsger W. Dijkstra, 1988.
- Does SWE-Bench-Verified Test Agent Ability or Model Memory?, arXiv, 2025.
- The SWE-Bench Illusion: When State-of-the-Art LLMs Remember Instead of Reason, arXiv, 2025.
