History of software engineering
Software engineering is an organized, careful, and measurable way to build, run, and maintain software.[1] Its history traces how people learned to build large computer programs that work, arrive on time, and stay within budget. That history runs from the big military software projects of the 1950s, through a widely felt software crisis in the 1960s, when many large projects failed or ran late, to today's methods of building software in short, frequent steps, such as agile and DevOps.[2][3]
The name was chosen on purpose. In late 1967 a NATO study group recommended a working conference on "software engineering", a phrase meant to argue that software should rest on the theory and practice of older branches of engineering.[4] That conference met in 1968.[5]
Eras at a glance
Software engineer Barry Boehm described the field's past as a series of swings. In his view, each decade reacted to the problems of the one before.[2] The table follows his outline.
| Period | Theme | Main idea |
|---|---|---|
| 1950s | Engineer software like hardware | Build programs in planned, sequential steps, as with hardware |
| 1960s | Software crafting | Software is easy to change, so many teams "code and fix" |
| 1970s | Formality and waterfall | Put requirements before design and design before code |
| 1980s | Productivity and the ability to handle growth | Standards, tools, reuse, and maturity models (which rate how well an organization manages and improves its software work) |
| 1990s | Overlapping instead of one-after-another processes | Overlap requirements, design, and code to ship faster |
| 2000s | Agility and value | Short release cycles and lighter documentation |
Before the name: the 1950s and early 1960s
SAGE and early large programs
SAGE, a U.S. air-defense system, was in Boehm's words the most ambitious information processing project of the 1950s.[2] Between the early 1950s and the mid-1960s, thousands of programmers worked on its design, testing, installation, or maintenance.[6]
In June 1956, Herbert Benington described how the SAGE programs were produced, at a Navy-sponsored symposium on programming methods.[6] The work moved through planned, sequential stages, borrowed from hardware engineering. Boehm later noted that this shows sequential, waterfall-type models have been used in software for a long time.[2]
The scale forced new tools and new mistakes.
- A utility system of service routines, with 40,000 instructions, was built to help prepare and test programs.[6]
- The team first built a working prototype of 35,000 instructions on the Whirlwind I computer.[6]
- It then jumped to more than 100,000 instructions on the much more powerful SAGE computer. In 1983, Benington called this jump the biggest mistake of the project.[6]
SAGE met its specifications with about a one-year schedule slip. Benington credited the result to one factor: "we were all engineers."[2]
Code and fix in the 1960s
By the 1960s, people found that software behaved differently from hardware. It was easy to change and cheap to copy, so many teams adopted a "code and fix" style instead of the careful design reviews hardware needed.[2]
Demand for programmers outran the supply of engineers and mathematicians. SAGE began hiring and training people from the humanities, social sciences, and arts, and languages such as Fortran and COBOL made it easier for non-mathematicians to enter the field.[2]
Some large projects still succeeded. Boehm cites two examples.[2]
- IBM's OS/360, which was expensive, late, and at first awkward to use, but more reliable than most rivals.
- NASA's Mercury, Gemini, and Apollo software, which kept pace with the Moon-landing schedule.
The software crisis and the NATO conferences
A gap between promise and delivery
By the late 1960s, many large projects failed and needed near-complete rework. The gap between what systems needed and what teams could deliver kept growing.[2]
In his 1972 Turing Award lecture, Edsger Dijkstra said the field had found itself in a software crisis. He traced the crisis mainly to hardware growth. As machines grew more than a thousand times more powerful, society's ambitions for them grew at the same rate.[3]
Participants at the 1968 conference spoke about both cost and scale.[4]
- Cost: one participant quoted T. J. Watson as saying that OS/360 cost IBM over $50 million a year during its preparation and at least 5,000 man-years of work.
- Scale: another participant said there was no crisis for small jobs such as payroll programs, and that it was large systems that faced great difficulties.
Garmisch, 1968
The NATO Science Committee sponsored a working conference on software engineering in Garmisch, Germany, from 7 to 11 October 1968.[5] More than fifty people from eleven countries attended, including computer makers, users, and university teachers.[4]
A NATO study group had recommended the conference in late 1967. It chose the phrase "software engineering" deliberately to be challenging.[4] Brian Randell, one of the report's editors, recalled that he believed the idea for the title came from Friedrich (Fritz) Bauer.[5]
The discussions ran under three headings.[4]
- Design of software
- Production of software
- Service of software
Participants were blunt about the state of the art. M. D. McIlroy said that, in industrial development, software production ranked somewhere below the more backward construction industries.[4]
McIlroy also gave an invited address on "mass produced" software components.[4]
Peter Naur and Randell edited the report, which NATO published in January 1969.[5]
Rome, 1969
A second NATO conference met in Rome one year later.[5] At the first meeting, everyone accepted that the term expressed "a need rather than a reality." In Rome, Randell recalled, some people talked as if the subject already existed.[5]
The organizers hoped to persuade NATO to fund an international software engineering institute. The discussions met strong skepticism instead, and the conference series did not continue.[5] Both meetings are covered in NATO Software Engineering Conferences.
The 1970s: structure and formality
The main reaction to code and fix was to organize code with care. Teams put design before coding and requirements before design.[2]
Structured programming
In March 1968, Dijkstra published a letter in Communications of the ACM titled "Go To Statement Considered Harmful."[7] A go-to statement makes a program jump to another point in its code. A result by Böhm and Jacopini showed that programs could always be written without go-to statements, and these ideas led to the structured programming movement.[2]
Boehm describes two branches of the movement.[2]
- A formal methods branch focused on program correctness. It used either mathematical proof or a "programming calculus", a set of mathematical rules for building programs.
- A less formal branch mixed technical and management methods. Called "top-down structured programming with chief programmer teams," it split the work into levels from the top down, with a lead (chief) programmer guiding the team. Harlan Mills pioneered it, and a New York Times project led by F. Terry Baker became its best-known success.
Modules and information hiding
In 1972, David Parnas argued that splitting a system into modules by the steps of a flowchart is almost always wrong.[8] He proposed starting with a list of design decisions that are hard or likely to change. Each module is then designed to hide one such decision from the others.[8]
This principle is called information hiding. It lets a team change one decision inside a module without breaking the rest of the system.[8]
The waterfall and what Royce said
In 1970, Winston Royce published "Managing the Development of Large Software Systems."[9] His basic picture ran through seven stages in order.[9]
- System requirements
- Software requirements
- Analysis
- Program design
- Coding
- Testing
- Operations
This sequence is usually cited as the origin of the waterfall model.[10]
Royce did not present the plain sequence as safe. He wrote that he believed in the concept, but that this version "is risky and invites failure."[9] Testing comes last, so problems with timing and storage first appear when fixing them may need a major redesign.[9]
He added five steps to reduce the risk.[9]
- Do a preliminary program design first.
- Document the design.
- "Do it twice," building a small pilot version before the real one.
- Plan, control, and monitor testing.
- Involve the customer at several points.
A 2010 National Research Council report notes the irony. Royce is credited with the waterfall model, yet he called it flawed and argued for a "do-it-twice" iterative process, one that repeats rounds of work.[10]
Lessons from OS/360
Fred Brooks led the software team for IBM's System/360, in what ACM calls perhaps the largest operating system project of its time.[11] He drew lessons from it in The Mythical Man-Month, published in 1975.[12]
The book's best-known claim is Brooks's law: "adding manpower to a late software project makes it later."[11]
The book's central argument is that large projects suffer management problems that small ones do not, because the work is divided among many people.[12] Conceptual integrity, meaning that the whole product follows one consistent design, is therefore critical.[12]
Early tools
Tools for managing change appeared in the same decade. Marc Rochkind described the Source Code Control System (SCCS) in a 1975 paper.[13] It stored every version of a program's modules and recorded who made each change, when and where it was made, and why.[13]
A 2005 review of the field names SCCS, from Bell Labs, and RCS, from Purdue University, as the first significant and influential version control systems.[14] The same review notes that earlier change-control tools existed, but most knowledge about them has been lost.[14]
The 1980s: process, productivity, and limits
Standards and the SEI
The U.S. Department of Defense (DoD) tried to fix failing projects with stricter contracts. Its 1985 standard DoD-STD-2167 tied the waterfall model's milestones to management reviews and payments.[2]
These standards often failed to tell capable developers from persuasive proposal writers. The DoD therefore asked the Software Engineering Institute (SEI) at Carnegie Mellon University, formed in 1984, to build a way to assess contractors.[2]
The Capability Maturity Model
A process maturity model rates how well an organization defines, measures, and improves the way it builds software. The SEI began work on such a framework in November 1986.[15] Watts Humphrey brought the framework to the SEI and added the idea of maturity levels, and a first description and questionnaire came out in September 1987.[15]
The Capability Maturity Model (CMM) for Software, version 1.0, followed in August 1991. Version 1.1 came out in February 1993 after feedback from the software community.[15]
Fear of losing contracts pushed most defense contractors to adopt the CMM and the similar ISO 9001 standard, an international standard for quality management. Most reported good returns from reduced rework.[2]
Iteration and risk
Critics argued that requirements cannot be fully fixed in advance. In 1987 a Defense Science Board task force chaired by Brooks reported that setting requirements is the most difficult and crucial part of software development. It said this work needs repeated rounds of work and feedback between designers and users.[10]
Boehm first published his spiral model in the mid-1980s, partly in response to the same problem.[10] It used a project's main risks to decide how much requirements work, prototyping, and design to do at the same time.[2] This approach belongs to the wider family of iterative and incremental development.
No silver bullet
In his 1986 paper "No Silver Bullet," Brooks predicted that no single technology or management technique would bring a tenfold gain within a decade.[12] He split software work into two kinds.[16]
- Essential tasks build the complex conceptual structures of the software itself.
- Accidental tasks express those structures in programming languages and fit them onto machines within space and speed limits.
Most big past gains, he argued, came from removing accidental barriers such as awkward languages and scarce machine time.[16] Removing accidental work has a hard ceiling. If a share of all effort is accidental, then even cutting accidental work to zero leaves the essential share, so the largest possible speedup is
where is the ratio of old effort to new effort. A tenfold gain needs . Brooks wrote that unless accidental work is more than nine-tenths of all effort, eliminating it cannot give an order-of-magnitude improvement, and he believed conceptual work already took most of the time.[16]
Maintenance and reuse
By the 1980s, maintenance was taking about 50 to 75 percent of most organizations' software effort.[2]
Object-oriented methods organize software around objects that combine data and the actions on that data. These methods trace back to Simula-67, and they promised easier reuse and change.[2]
The 1990s: objects, the web, and open source
Object-oriented methods
Languages such as Smalltalk, Eiffel, C++, and Java drove rapid growth in object-oriented development.[2] In the 1990s, design patterns, software architecture, and a unified modeling notation strengthened these methods.[2]
- The book Design Patterns catalogued 23 solutions to common object-oriented design problems.[17]
- The Object Management Group (OMG) adopted version 1.1 of the Unified Modeling Language (UML) in 1997.[18]
Speed to market
The web made software central to competition, and the need to ship faster pushed many firms away from the sequential waterfall model.[2] In the late 1980s, Hewlett-Packard found that some products had market lifetimes of about 2.75 years, while its waterfall process took 4 years to develop the software.[2]
By 1995 the criticism had reached the top of the field. That year Brooks gave a keynote at the International Conference on Software Engineering titled "The Waterfall Model Is Wrong!"[10]
Open source
The label "open source" was created at a strategy session in Palo Alto on 3 February 1998, shortly after Netscape announced it would release its browser's source code.[19] The organizers wanted a business-friendly name for an open development process, separate from the older term "free software."[19]
Large projects already worked this way. In the early years of the Linux kernel, from 1991 to 2002, changes were passed around as patches (files that list changes to code) and as archived files.[20] See open-source software for more.
Testing and integration
Kent Beck developed continuous integration as part of Extreme Programming in the 1990s.[21] In this practice, every developer merges work into the team's shared main copy of the code at least daily, and each merge is checked by an automated build with tests.[21] At the time, teams usually combined their work only before a release, and releases were often years apart.[21]
JUnit, written by Beck and Erich Gamma, spread automated testing in the Java community in the late 1990s.[21]
The 2000s and after
The Agile Manifesto
From 11 to 13 February 2001, seventeen people met at the Snowbird ski resort in Utah.[22] They represented several methods.[22]
- Extreme Programming
- Scrum
- The Dynamic Systems Development Method (DSDM)
- Crystal
- Feature-Driven Development
- Other methods
They wanted an alternative to "documentation driven, heavyweight" processes.[22]
The result was the Manifesto for Agile Software Development. It lists four values.[23]
| Valued more | Valued less |
|---|---|
| Individuals and interactions | Processes and tools |
| Working software | Comprehensive documentation |
| Customer collaboration | Contract negotiation |
| Responding to change | Following a plan |
The manifesto adds that the items on the right still have value, but its authors value the items on the left more.[23]
Where agile fits
Boehm noted growing frustration with heavy documentation. One organization showed a "CMM Level 4 Memorial Library" of 99 thick binders kept only to pass an assessment.[2]
He also found limits to agile methods. They worked best on small projects with low-risk outcomes, highly capable staff, and fast-changing requirements.[2] One large Extreme Programming project with 500,000 lines of code and 50 people had to add more explicit plans, controls, and architecture.[2]
Version control and delivery
In 2005, the Linux kernel community lost free use of the privately owned BitKeeper tool. Linus Torvalds and others then built Git, a fully distributed version control system.[20]
In the early 2000s, some teams found the path from tested code to production still complex. The practice of automating that whole path became known as continuous delivery.[21]
DevOps
At the 2009 O'Reilly Velocity Conference, John Allspaw and Paul Hammond of Flickr gave a talk titled "10+ Deploys per Day: Dev and Ops Cooperation at Flickr."[24] It argued that software development and IT operations should work as one integrated process.[24]
Patrick Debois, a Belgian consultant, watched the talk by video stream and then organized a conference called devopsdays in Ghent, Belgium.[24] That 2009 event gave the movement its name, DevOps.[25]
Artificial intelligence assistants
On 29 June 2021, GitHub launched a technical preview of GitHub Copilot, an artificial intelligence (AI) tool that it called an "AI pair programmer."[26] Built with OpenAI, it suggests whole lines or functions based on the code a programmer is writing.[26]
Building a profession
A standard definition
The IEEE's 1990 glossary of software engineering terms (IEEE 610.12-1990) gave a widely used definition.[1] It calls software engineering an organized, careful, and measurable approach to developing, operating, and maintaining software. Put more briefly, it is the application of engineering to software.[1]
A body of knowledge
The IEEE Computer Society began defining a core body of knowledge in 1998, as a step toward making software engineering a recognized profession.[27] A trial version of the Guide to the Software Engineering Body of Knowledge (SWEBOK) appeared in 2001, and the first officially approved edition followed in 2004.[28] Version 3 followed in 2014.[29]
The IEEE Computer Society's Board of Governors approved version 4.0 in October 2024.[29] Its main features are these.[29]
- It has 18 knowledge areas.
- It adds three new areas: software architecture, software security, and software engineering operations.
- It works agile and DevOps practices into almost all knowledge areas.
Ethics and licensing
The ACM and the IEEE Computer Society jointly approved the Software Engineering Code of Ethics and Professional Practice as a standard for teaching and practice.[30] It sets out eight principles for software engineers.[30]
Licensing has had less success. In the United States, the Principles and Practice of Engineering (PE) exam in software engineering was first offered in April 2013 and was discontinued after the April 2019 sitting.[31] See software engineering professionalism for more.
Debates and open questions
The waterfall story
The common story says the field began with a rigid waterfall and later discovered iteration. The record is more mixed.
- SAGE used a sequential process in 1956, but its team built a 35,000-instruction prototype before the main programming.[6]
- Royce's 1970 paper, often cited as the waterfall's source, called the plain sequence risky and recommended doing the work twice.[9][10]
- Government standards such as DoD-STD-2167 (1985) reinforced a purely sequential reading of the waterfall.[2][10]
Who coined the term
Randell called "software engineering" a practically unknown term in 1968.[5]
The IEEE Computer Society credits Margaret Hamilton, who headed the Software Engineering Division of the MIT Instrumentation Laboratory, with coining it while developing guidance and navigation software for Apollo.[32] Hamilton said she used the term to set software apart from hardware while treating both as parts of one systems engineering process. She recalled that the phrase was at first "considered to be quite amusing."[32]
Is it really engineering?
The 1968 participants generally agreed that software engineering was at a very early stage compared with established branches of engineering.[4]
After Rome, many people began using the term for their work, often with little justification in Randell's view.[5] Randell refused to use the term or join events that used it for about ten years. He relented in 1979, when he gave an invited talk at the International Software Engineering Conference in Munich.[5]
Silver bullets
In the 1995 anniversary edition of The Mythical Man-Month, Brooks reprinted "No Silver Bullet" and revisited his 1986 prediction that there would be no silver bullet within ten years.[12]
References
- NPR 7150.2A, Appendix A: Definitions, NASA, n.d.
- A View of 20th and 21st Century Software Engineering, Barry Boehm, Proceedings of ICSE 2006, ACM, 2006.
- The Humble Programmer (EWD 340), Edsger W. Dijkstra, ACM Turing Lecture, 1972.
- 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 Scientific Affairs Division, 1969.
- The 1968/69 NATO Software Engineering Reports, Brian Randell, University of Newcastle upon Tyne, n.d.
- Production of Large Computer Programs, Herbert D. Benington, Annals of the History of Computing 5(4), 1983.
- Go To Statement Considered Harmful, Edsger W. Dijkstra, Communications of the ACM 11(3), 1968.
- On the Criteria To Be Used in Decomposing Systems into Modules, D. L. Parnas, Communications of the ACM, 1972.
- Managing the Development of Large Software Systems, Winston W. Royce, Proceedings of IEEE WESCON, 1970.
- Achieving Effective Acquisition of Information Technology in the Department of Defense, Chapter 3, National Research Council, National Academies Press, 2010.
- Frederick ("Fred") Brooks, A.M. Turing Award Laureate, ACM, n.d.
- The Mythical Man-Month (Anniversary Edition), Frederick P. Brooks, Addison-Wesley, 1995.
- The Source Code Control System, Marc J. Rochkind, IEEE Transactions on Software Engineering SE-1(4), 1975.
- Impact of Software Engineering Research on the Practice of Software Configuration Management, J. Estublier, D. Leblang, A. van der Hoek, R. Conradi, G. Clemm, W. Tichy, and D. Wiborg-Weber, ACM Transactions on Software Engineering and Methodology 14(4), 2005.
- Capability Maturity Model for Software, Version 1.1, M. C. Paulk et al., Software Engineering Institute, 1993.
- No Silver Bullet: Essence and Accidents of Software Engineering, Frederick P. Brooks, University of North Carolina Technical Report 86-020, 1986.
- Design Patterns: Elements of Reusable Object-Oriented Software, Gamma, Helm, Johnson, and Vlissides, Addison-Wesley, 1994.
- About the Unified Modeling Language Specification, Object Management Group, n.d.
- History of the Open Source Initiative, Open Source Initiative, n.d.
- A Short History of Git, Scott Chacon and Ben Straub, Pro Git, n.d.
- Continuous Integration, Martin Fowler, martinfowler.com, 2023.
- History: The Agile Manifesto, agilemanifesto.org, 2001.
- Manifesto for Agile Software Development, agilemanifesto.org, 2001.
- The Origins of DevOps: What's in a Name?, DevOps.com, n.d.
- Patrick Debois, Author, IT Revolution, n.d.
- Introducing GitHub Copilot: your AI pair programmer, GitHub Blog, 2021.
- Software Engineering Body of Knowledge (SWEBOK), IEEE Computer Society, n.d.
- About SWEBOK: 2004 SWEBOK Guide, IEEE Computer Society (archived page), n.d.
- Guide to the Software Engineering Body of Knowledge, Version 4.0, IEEE Computer Society, 2024.
- The Software Engineering Code of Ethics and Professional Practice, ACM, n.d.
- Software Engineering, Texas Board of Professional Engineers and Land Surveyors, n.d.
- Margaret Hamilton: First Software Engineer, Lori Cameron, IEEE Computer Society, 2018.
