Search topics and sections

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]
Core software engineering activities as a cycle Requirements what it must do Architecture & design how it is structured Construction code, unit tests, debugging Testing check behavior Operations deploy and run Maintenance fix, adapt, improve change requests
The core activities of software engineering form a repeating cycle: requirements, architecture and design, construction, testing, operations and maintenance. Change requests from maintenance feed back into requirements, so the work does not run in a single pass.

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]

C=n(n−1)2C = \frac{n(n-1)}{2}

Here nn is the number of workers and CC 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]

Communication paths in teams of two to five people n = 2, 1 path n = 3, 3 paths n = 4, 6 paths n = 5, 10 paths paths = n(n − 1) / 2
Every pair of team members needs its own communication path, so a team of nn people has n(n−1)/2n(n-1)/2 paths: 1, 3, 6, and 10 paths for 2, 3, 4, and 5 people.

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

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]

Timeline of software engineering, 1965 to 2025 1970 1980 1990 2000 2010 2020 1968 NATO conference, Garmisch 1970 Royce: staged development 1986 No Silver Bullet 1988 Spiral model 1991 CMM v1.0 2001 Agile Manifesto 2023 SWE-bench 2024 SWEBOK v4 1969 NATO conference, Rome 1975 The Mythical Man-Month 1976 Fagan inspections 1981 COCOMO (Boehm) 1998 First software PE license (Texas) 2009 First devopsdays
Milestones in software engineering from 1965 to 2025, from the 1968 and 1969 NATO conferences through process models, the 2001 Agile Manifesto, and SWEBOK v4 in 2024.

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]
Sequential and iterative software developmentSequential (waterfall style)System requirementsSoftware requirementsAnalysisProgram designCodingTestingOperationsIterative (agile style)problems foundlate can forceredesignplanbuildtestreviewplanbuildtestreviewplanbuildtestreviewworkingsoftwareworkingsoftwareworkingsoftwaretime
In sequential (waterfall) development, each phase runs once in order from system requirements to operations, so problems found in testing can force a redesign. In iterative (agile) development, short repeated cycles of plan, build, test and review each produce working software.

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]

  1. Unit testing checks one function or module alone.[5]
  2. Integration testing checks that parts work together.[3]
  3. System testing checks the whole product.[3]
  4. 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]

E=a⋅(KLOC)bE = a \cdot (\text{KLOC})^{b}

Here EE 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 aa and bb depend on the type of project.[18]

Project type Description aa bb
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 bb is greater than 1 in every row, effort grows faster than size. Doubling the size multiplies effort by 2b2^{b}, which is about 2.07 for organic projects and about 2.30 for embedded ones.

Basic COCOMO effort versus size0255075100Size (thousands of lines of code, KLOC)02004006008001000Effort (person-months)OrganicSemi-detachedEmbedded
Basic COCOMO estimates effort as E=a⋅KLOCbE = a \cdot \text{KLOC}^b. Organic projects (a=2.4a = 2.4, b=1.05b = 1.05) need the least effort for a given size, semi-detached projects (a=3.0a = 3.0, b=1.12b = 1.12) need more, and embedded projects (a=3.6a = 3.6, b=1.20b = 1.20) need the most, with the gap widening as size grows.

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

  1. Guide to the Software Engineering Body of Knowledge, Version 3.0, IEEE Computer Society, 2014.
  2. Software Engineering Body of Knowledge (SWEBOK), IEEE Computer Society, 2024.
  3. SWEBOK Guide V4.0 Topics, IEEE Computer Society, 2024.
  4. SFIA v9 and SWEBOK v4: The guide to the software engineering body of knowledge, SFIA Foundation, summarising SWEBOK V4.
  5. Software testing, IEEE Technology Navigator.
  6. What Is Software Engineering?, in Software Engineering at Google, O'Reilly, 2020.
  7. No Silver Bullet: Essence and Accident in Software Engineering, Frederick P. Brooks, 1986.
  8. Mythical Man Month, Martin Fowler.
  9. The Mythical Man-Month, Frederick P. Brooks, annotated reprint, Fermat's Library.
  10. Fifty Years of Software Engineering, or The View from Garmisch, Brian Randell, arXiv, 2018.
  11. 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.
  12. The 1968/69 NATO Software Engineering Reports, Brian Randell, Newcastle University.
  13. The Humble Programmer (EWD 340), Edsger W. Dijkstra, 1972.
  14. What to Know About the Scientist Who Invented the Term "Software Engineering", IEEE Computer Society.
  15. Margaret Hamilton, computing pioneer who led software development for the Apollo program, dies at 90, MIT News, 2026.
  16. Managing the Development of Large Software Systems, Winston W. Royce, 1970.
  17. Design and Code Inspections to Reduce Errors in Program Development, M. E. Fagan, IBM Systems Journal, 1976.
  18. Information about Cocomo calculation, Arthur de Jong, citing B. W. Boehm, Software Engineering Economics, 1981.
  19. A Spiral Model of Software Development and Enhancement, B. W. Boehm, Computer, 1988.
  20. Capability Maturity Model for Software, Version 1.1, Software Engineering Institute, 1993.
  21. The WyCash Portfolio Management System, Ward Cunningham, OOPSLA, 1992.
  22. History: The Agile Manifesto, agilemanifesto.org, 2001.
  23. About devopsdays, devopsdays.org.
  24. Guide to the SWEBOK v4.0 Has Been Released, Basic Input/Output, 2024.
  25. SWE-bench: Can Language Models Resolve Real-World GitHub Issues?, C. E. Jimenez et al., arXiv, 2023.
  26. Manifesto for Agile Software Development, 2001.
  27. DORA's software delivery performance metrics, DORA.
  28. IV&V Overview, NASA.
  29. ISO/IEC/IEEE 14764:2022 Software engineering, Software life cycle processes, Maintenance (preview), ISO/IEC/IEEE, 2022.
  30. Software Engineering 2014: Curriculum Guidelines for Undergraduate Degree Programs in Software Engineering, ACM and IEEE Computer Society, 2015.
  31. Software Developers, Quality Assurance Analysts, and Testers, Occupational Outlook Handbook, U.S. Bureau of Labor Statistics.
  32. Finally, a PE Path for Software Engineers, NSPE, 2012.
  33. NCEES discontinuing PE Software Engineering exam, NCEES, 2018.
  34. The Software Engineering Code of Ethics and Professional Practice, ACM.
  35. On the Cruelty of Really Teaching Computing Science (EWD 1036), Edsger W. Dijkstra, 1988.
  36. Does SWE-Bench-Verified Test Agent Ability or Model Memory?, arXiv, 2025.
  37. The SWE-Bench Illusion: When State-of-the-Art LLMs Remember Instead of Reason, arXiv, 2025.

Figure

Subtopics

Agile software developmentAlistair CockburnAnatoly YakovenkoAndy Hunt (author)Apache MavenApplication securityAvie TevanianAvionics softwareBachelor of Software EngineeringBackward compatibilityBrendan BurnsBruce PerensBryan CantrillCADESChange control boardCircleCIClaude CodeCommon Workflow LanguageComputer programmingComputer-aided software engineeringCraig McLuckieDart (programming language)Data engineeringDave CutlerDave Thomas (programmer)DebuggingDecompilerDeveloper experienceDeveloper relationsDevOpsDomain (software engineering)DORA metricsDouglas McIlroyDoxygenDynamic program analysisEmpirical software engineeringEnd-user developmentEric S. RaymondError codeFormal methodsFoundations of Software EngineeringFrancois CholletFriedrich L. BauerGerrit (software)Gil ShwedGprofHackathonHarlan MillsIan Lance TaylorIan MurdockIEC 62304IEEE SoftwareInfrastructure as codeInstrumentation (computer programming)International Conference on Software EngineeringIsaac Z. SchlueterISO/IEC 15288ISO/IEC JTC 1/SC 7Jarred SumnerJay KrepsJeff SutherlandJez HumbleJoe BedaKelsey HightowerLennart PoetteringMargaret Hamilton (software engineer)Marissa MayerMark AdlerMark RussinovichMartin Fowler (software engineer)Mary PoppendieckMethod engineeringMichael Fagan (software engineer)Mitchell HashimotoMLOpsModule bundlerNATO Software Engineering ConferencesNicole ForsgrenNo Silver BulletNx (software)Object Management GroupOnline helpPatrick DeboisPerforcePlatform engineeringPlug-in (computing)Postman, Inc.Prettier (software)Recovery-oriented computingReflections on Trusting TrustRelease managementRequirements engineeringResearch software engineeringReverse engineeringRoger S. PressmanScientific workflow systemScrapySearch-based software engineeringSEMATSite reliability engineeringSoftware analyticsSoftware bugSoftware configuration managementSoftware crisisSoftware designSoftware developmentSoftware development processSoftware distributionSoftware Engineering 2004Software Engineering Body of KnowledgeSoftware engineering professionalismSoftware maintenanceSoftware metricSoftware product managementSoftware project managementSoftware qualitySoftware safetySoftware supply chainSoftware systems engineeringSoftware testingSonarQubeStatic program analysisSteve ChenSWE-benchTechnical debtThomas W. RepsTurborepoUsability engineeringVictor BasiliWard CunninghamWatts HumphreyWeb developmentWinston W. RoyceYear 2000 problem