Legendary coder reveals the secret to peak productivity: delete code
Ken Thompson, a name synonymous with the very foundations of modern computing, just dropped a productivity bombshell. The man who co-created Unix, designed the B programming language (the direct ancestor of C), and later spearheaded Go at Google, claims his most productive days involve—you guessed it—erasing code. Not adding it. Deleting it.
The minimalist philosophy of a computing pioneer
Thompson’s insight isn't about laziness; it’s about engineering rigor. He argues that the relentless pursuit of simplicity, the ruthless elimination of unnecessary lines, and the conscious effort to leave systems leaner than you found them, unlocks a level of productivity few achieve. This isn’t a recent epiphany either; it’s a philosophy that has underpinned his work for over half a century, starting with the modular, efficient design of Unix in the late 1960s at Bell Labs.
Consider the lineage: Unix, with its emphasis on small, well-defined tools working in concert, gave way to B, which paved the way for Ritchie's C—the undisputed standard for systems programming for decades. Then came Go, a language born from Thompson’s time at Google, deliberately designed for large-scale production systems, consistently prioritizing clarity and ease of understanding over excessive complexity.
The logic is brutally simple: every line of code added is a line that someone else must read, understand, and maintain. It's a potential bug magnet, a test case waiting to fail, and another layer of complication when future changes are needed. A system that grows without discipline inevitably accumulates technical debt—a silent burden that turns even minor modifications into high-stakes operations.
Thompson's assertion isn't a step backward. It’s about shrinking the attack surface, simplifying the architecture, and creating a system primed for future evolution. This demands a deeper understanding of the system than simply adding new functionality—a willingness to discard elements that, while perhaps once useful, have outlived their purpose. It’s a skill that separates the competent engineer from the truly masterful.
The parallel to Bjarne Stroustrup’s quip – “There are only two kinds of programming languages: those that complain about, and those that nobody uses” – is striking. Go, in its very essence, embodies this philosophy, minimizing the elements a programmer needs to manage, opting for directness and clarity over the baroque complexity often found in languages like C++ or Java.
But here's the rub: Thompson’s wisdom clashes with a persistent trend in many development teams—the misguided belief that productivity is measured by the sheer volume of code produced. Those metrics conveniently ignore the hidden costs: the time wasted deciphering sprawling codebases, the fragility they introduce, and the escalating risk of introducing new bugs with every change.

Beyond lines of code: the true measure of engineering excellence
Thompson's point, though stated succinctly, reflects a principle long practiced by seasoned software engineers. It's a reminder that true engineering excellence isn't about writing more code; it’s about knowing precisely what doesn't need to be written. It’s about ruthless pruning, a commitment to simplicity, and the understanding that less is often profoundly more.