This is the case everyone cites. When someone says "you should never rewrite from scratch," they are, knowingly or not, talking about Netscape.
Gen 1
Netscape Navigator was the browser that put the web in front of ordinary people. By one account it took about 75% of the market within four months of its release. Through the mid-1990s it was, for most users, simply what the internet looked like.
By 1997 the product had become Netscape Communicator 4, a suite with a browser, mail and an editor. Its code was several years old and had grown fast under heavy competition. Microsoft's Internet Explorer was improving quickly and shipping with Windows.
The decision
On January 22, 1998, Netscape announced that it would release the Communicator source code. The Mozilla project began that spring with the code in public.
The plan at first was to keep developing the existing code toward a Netscape 5. That plan lasted months. In late October 1998 the decision was made to drop the Communicator rendering engine and build on a new one, later named Gecko. Netscape 5 and the work behind it were scrapped completely.
The reasoning was the reasoning every rewrite starts with: the old engine was slow to change and behind on web standards, and a clean design would be faster to build on. It was not a careless decision. It was a bet that the company could afford to stop shipping while the new foundation was laid.
What happened

It could not. Within weeks of that decision Netscape was being bought by AOL, and for the next two years there was no major release at all.
When Joel Spolsky wrote about it in April 2000, Netscape 6 was only then reaching its first public beta. As he put it, "There never was a version 5.0," and the last major release, 4.0, had been "released almost three years ago." His conclusion gave the industry its rule of thumb: rewriting from scratch is "the single worst strategic mistake that any software company can make."
Netscape 6.0 shipped on November 14, 2000, based on Mozilla 0.6, a pre-release of an unfinished project. At release it was judged too unstable for production use, and the larger codebase ran slowly on many mid-range PCs of the time. Users who had waited three years for a new Netscape had good reason not to switch to it.
Internet Explorer did not wait. Its usage share peaked at over 90% in 2001.
What went wrong
- Shipping stopped. The old code was frozen in practice, the new code was not ready, and a competitor released continuously through the whole gap. Three years is several product generations.
- The scope was everything. The rewrite was not one component. It was the engine, and with it the interface and the application built on top.
- The old code's knowledge was discarded. Communicator 4 was ugly partly because it handled the real, messy web. Gecko had to learn that web again.
- Release was forced. Netscape 6 shipped when the business needed a release, not when the software was ready, which spent what trust the brand had left.
Run the system as it stood in 1998 through the six facts that decide it and nearly every one argues against a clean rewrite: the system was large, the old one could not afford to freeze, and the cost of going quiet was the entire market.
What survived
The uncomfortable part of this story is that the rewrite produced good software. It just produced it too late for the company that paid for it.
Gecko kept improving inside the Mozilla project, in the open, after Netscape 6 was written off. On November 9, 2004, that same lineage shipped as Firefox 1.0, and Firefox went on to take back a real share of the web from Internet Explorer.
So the verdict depends on whose scorecard you are reading. For the codebase, the rewrite worked. For Netscape, it was fatal. A Gen 2 can be technically right and still arrive after the business that needed it is gone.
What to take from it
- A rewrite is a bet that you can stop shipping for as long as it takes. Find out how long that really is before you make it.
- "As long as it takes" is always longer than the plan. Netscape's plan did not say three years.
- If the engine has to be replaced, replace it under a product that keeps shipping. Mozilla did exactly that the next time, with Firefox Quantum.
Worth watching
For the years before the rewrite, when Netscape was the company everyone else was chasing, watch Valley of the Boom, National Geographic's 2019 series about the 1990s dot-com boom. Netscape's fight with Microsoft is one of the stories it follows.
Common questions
Why did the Netscape 6 rewrite fail?
Netscape went about three years without a major release while the new engine was written. There never was a version 5.0. Netscape 6.0 shipped on November 14, 2000 on a pre-release of an unfinished project and was judged too unstable for production use. Internet Explorer did not wait: its usage share peaked at over 90% in 2001.
What did Joel Spolsky say about it?
Writing in April 2000, he called rewriting from scratch "the single worst strategic mistake that any software company can make." That essay is where the industry got its rule of thumb about rewrites.
Did anything good come out of the rewrite?
Yes. The rewrite cost Netscape the market, but the code it produced outlived the company's browser.
Sources
- Joel Spolsky - Things You Should Never Do, Part I (April 6, 2000)
- Netscape (web browser) - Wikipedia - the January 1998 source announcement and the late-October 1998 engine decision
- Netscape 6 - Wikipedia - release date, Mozilla 0.6 base and reception
- Browser wars - Wikipedia - market share figures
- Firefox - Wikipedia - Firefox 1.0 release date
Last updated November 28, 2026.

