Startup Suicide—Rewriting the Code

The benefits of customer and agile development and minimum features set are continuous customer feedback, rapid iteration and little wasted code. But over time if developers aren’t careful, code written to find early customers can become unwieldy, difficult to maintain and incapable of scaling. Ironically it becomes the antithesis of agile. And the magnitude of the problem increases exponentially with the success of the company. The logical solution? “Re-architect and re-write” the product.

For a company in a rapidly changing market, that’s usually the beginning of the end.

It Seems Logical

I just had lunch (at my favorite Greek restaurant in Palo Alto forgetting it looked like a VC meetup) with a friend who was technical founder of his company and is now its chairman. He hired an operating exec as the CEO a few years ago. We caught up on how the company was doing (“very well, thank you, after five years, the company is now at a $50 million run rate,”) but he wanted to talk about a problem that was on his mind. “As we’ve grown we’ve become less and less responsive to changing market and customer needs. While our revenue is looking good, we can be out of business in two years if we can’t keep up with our customer’s rapid shifts in platforms. Our CEO doesn’t have a technology background, but he’s frustrated he can’t get the new features and platforms he wants (Facebook, iPhone and Android, etc.) At the last board meeting our VP of engineering explained that the root of our problems was ‘our code has accumulated a ton of “technical debt,’ it’s really ugly code, and it’s not the way we would have done it today. He told the board that the only way to to deliver these changes is to re-write our product.” My friend added, “It sounds logical to the CEO so he’s about to approve the project.”

Shooting Yourself in the Head

“Well didn’t the board read him the riot act when they heard this?” I asked. “No,” my friend replied, sadly shaking his head, “the rest of the board said it sounded like a good idea.”

With a few more questions I learned that the code base, which had now grown large, still had vestiges of the original exploratory code written back in the early days when the company was in the discovery phase of Customer Development. Engineering designs made back then with the aim of figuring out the product were not the right designs for the company’s current task of expanding to new platforms.

I reminded my friend that I’ve never been an engineering manager so any advice I could give him was just from someone who had seen the movie before.

The Siren Song to CEO’s Who Aren’t Technical

CEO’s face the “rewrite” problem at least once in their tenure. If they’re an operating exec brought in to replace a founding technical CEO, then it looks like an easy decision – just listen to your engineering VP compare the schedule for a rewrite (short) against the schedule of

Author: Steve Blank

A prolific educator, thought leader and writer on Customer Development for Startups, Steve Blank is a retired serial entrepreneur who teaches, refines, writes and blogs on “Customer Development,” a rigorous methodology he developed to bring the “scientific method” to the typically chaotic, seemingly disorganized startup process. Now teaching entrepreneurship at three major universities, Blank co-founded his first of eight startups after several years repairing fighter plane electronics in Thailand during the Vietnam War, followed by several years of defense electronics work for U.S. intelligence agencies in “undisclosed locations.” Four Steps to the Epiphany, Blank’s fast-selling book, details the Customer Development process and is increasingly a “must read” among entrepreneurs, investors, and established companies alike, when the focus is optimizing a startup’s chances for scalability and success. After 21 years driving 8 high technology startups, today Steve teaches entrepreneurship to both undergraduate and graduate students at U.C. Berkeley’s Haas School of Business, Stanford University’s School of Engineering and the Columbia/Berkeley Joint Executive MBA program. His “Customer Development” teaching and writing coalesce and codify his experiences and observations of entrepreneurs in action, including his own and those he advises. “Once removed from the day-to-day intensity of founding a startup, I was able to observe a pattern that distinguishes successful startups from failures,” Blank says. In 2009, he earned the Stanford University Undergraduate Teaching Award in Management Science and Engineering. The San Jose Mercury News listed him as one of the 10 Influencers in Silicon Valley. In 2010, he was earned the Earl F. Cheit Outstanding Teaching Award at U.C. Berkeley Haas School of Business. Despite these accolades, Steve says he might well have been voted “least likely to succeed” in his New York City high school class. Steve Blank arrived in Silicon Valley in 1978, as boom times began. His early startups include two semiconductor companies, Zilog and MIPS Computers; Convergent Technologies; a consulting stint for Pixar; a supercomputer firm, Ardent; peripheral supplier, SuperMac; a military intelligence systems supplier, ESL; Rocket Science Games. Steve co-founded startup number eight, E.piphany, in his living room in 1996. In sum: two significant implosions, one massive “dot-com bubble” home run, several “base hits,” and immense learning leading to The Four Steps. An avid reader in history, technology, and entrepreneurship who seldom cracks a novel, Steve has followed his curiosity about why entrepreneurship blossomed in Silicon Valley while stillborn elsewhere. It has made him an unofficial expert and frequent speaker on “The Secret History of Silicon Valley.” Steve’s interest in combining conservation with best business practices had Governor Arnold Schwarzenegger appoint him a Commissioner of the California Coastal Commission, the public body which regulates land use and public access on the California coast. He also serves on the Expert Advisory Panel for the California Ocean Protection Council. Steve serves on the board of Audubon California, was its past chair, and spent several years on the Audubon National Board. A board member of Peninsula Open Space Land Trust (POST), Blank recently became a trustee of U.C. Santa Cruz and a Director of the California League of Conservation Voters (CLCV). Steve’s proudest startups are daughters Katie and Sara, co-developed with wife Alison Elliott. The Blanks live in Silicon Valley.