Skip to content

The field guide to second-generation software

Every system gets a Gen 2. Most of them go badly.

Gen 2, NextGen, v2, "the new platform": the project that replaces the system that works but nobody wants to touch. A guide to deciding whether to start one, and to finishing it if you do.

What a Gen 2 is

The second system is the dangerous one

It is not a feature
A Gen 2 replaces something that already works and already earns money. For most of the project the best possible result is that customers notice nothing. That makes it the hardest kind of work to fund, to staff and to finish.
It attracts everything
Fred Brooks named the second-system effect in 1975: the successor to a small, successful system collects every idea that was left out of the first one, and arrives over-engineered and late. Fifty years on, it is still the default outcome.
Gen 1 does not stop
The old system keeps taking orders, fixes and feature requests the whole time. A replacement built somewhere else, from nothing, is chasing a target that is moving and has a head start measured in years.
Slide: Gen 1 on the left, Gen 2 on the right, and four routes between them: leave it, refactor, replace in slices, rewrite.

Case files

What happened to other people's Gen 2

Only the ones that went public. Hundreds of thousands of other companies face the same decision in private, and nobody writes it down.

All 37 case files
Slide: Netscape 4, the leading browser, then more than three years with no major release, then Netscape 6 on the new Gecko engine. The rewrite cost Netscape the market. Failed Netscape 6 About two years from the decision to the release; more than three between major versions In late 1998 Netscape dropped its browser's rendering engine to build a new one. The next major release took until November 2000, and by then the market had moved on. Read the case file Slide: Python 2 and Python 3 as two timelines side by side for eleven years, from 3.0 on December 3, 2008 to the Python 2 sunset on January 1, 2020. Worked, slowly Python 2 to 3 Eleven years from 3.0 to the Python 2 sunset on January 1, 2020 Python 3 broke compatibility on purpose in 2008. The language survived and is better for it, but the community carried two versions for more than a decade. Read the case file Slide: the Firefox engine as five parts, one old Gecko part left and a new part from Servo being lowered in, from 2012 to Firefox Quantum on November 14, 2017. Worked Firefox Quantum Servo research began in 2012; Firefox Quantum shipped November 14, 2017 Mozilla had already lived through one from-scratch browser rewrite. The second time, it replaced the engine a component at a time, inside a product that never stopped shipping. Read the case file Slide: Perl 5 keeps shipping in a straight line while Perl 6, a full redesign, branches off and becomes Raku, renamed October 2019. Failed Perl 6 and Raku More than fifteen years from the announcement to the first stable release Perl 6 was announced in July 2000 as a redesign of Perl. Its first stable release came in December 2015, and in 2019 it gave up the Perl name altogether. Read the case file Slide: AngularJS, released October 20, 2010, and Angular 2, released September 14, 2016, with a half-built bridge between them. The upgrade path came later. Worked, slowly AngularJS to Angular About two years from the announcement to 2.0; AngularJS support ran to the end of 2021 In October 2014 the Angular team showed a version 2 that shared a name with AngularJS and almost nothing else. The migration path was designed afterward, under pressure from the people who needed it. Read the case file Slide: Windows XP in 2001, the Longhorn tangle of new subsystems in the core, the 2004 reset, and Windows Vista on November 8, 2006. Worked, slowly Windows Longhorn Five and a half years from the start of work to release; just over two from the reset Longhorn was planned as a minor Windows release for 2003. Three years in, Microsoft restarted it on a different code base and cut its headline feature. It shipped as Windows Vista. Read the case file

Sixteen questions before you commit a year

Answer them about your own system. You get one of the four recommendations, the answers that drove it, and the ones that argue against it. It runs in your browser and sends nothing anywhere.

Start the questions

First hand

The fleet rebuild log

My own Gen 2: about 100 websites and web applications moved off one aging server, one site at a time, while the old server kept running. What the plan was, what broke, and the rules that came out of it.

Read the log
Slide: about 100 websites moving one at a time from one Windows server to static builds at the edge.