•
7 min read
The misguided "calculator" analogy

There is a prevailing sentiment among some programmers and most vibecoders that generative coding is simply a force multiplying tool. It’s akin to industrial automation where machines can perform physical actions faster than humans can, or calculators which can enumerate mathematical operations faster than humans can. Before analyzing these arguments closely to see if they hold up, it might be tempting to think that they’re at least directionally correct. You might concede that a next-word-prediction tool isn’t exactly the same as a calculator, but still believe that in practical terms perhaps it serves an equivalent purpose.

I find this sentiment incorrect, even directionally. It relies on fuzzy and ambigious definitions, hand-waving over some key details about what makes a tool useful and what allows a tool to be a force multiplier.

In the broadest definition, a tool is simply an object which aids in an action. A hammer aids in force application. A cup aids in liquid collection. A calculator aids in numerical enumeration. Whether an object is useful as a tool or not depends on the heuristic it is measured for. A calculator is useless as a liquid collector and a cup is useless for numerical enumeration. So if you claim that generative code is a tool that aids in software development, we have to ask what exact purpose it serves and how well. The common arguments I hear from programmers are that it’s faster at writing code than people and it’s a shortcut for generating boilerplate code or trivial code. The common arguments I hear from vibecoders is that it can build software programs at a cost cheaper than paying programmers, and a vague notion of “it’s the future of programming so we want to be early adopters.”

We can analyze these arguments and judge whether the “tool” analogy holds up. When programmers say generative coding tools are faster than humans at writing code, their heuristic is implied within the statement: speed of code production. The primary purpose of software is to serve the end user’s needs and the speed of production is merely one metric among many others. The code has to be correct. In the modern software industry, code also has to be maintained over time. It has to be easy to debug and inspect. It has to accomodate changing requirements. Ignoring these metrics to focus only on speed can give you the illusion that generative code is a useful tool. A calculator which performs mathematical operations twice as fast is a better calculator only if it is reliable. If it’s twice as fast but at the cost of occasionally producing incorrect results, there are more questions to be asked about its usefulness as a tool in the given context. LLMs produce code faster as a tradeoff against the other metrics. It produces buggy code. It writes code which incorrectly or incompletely encodes the prompter’s intentions. It makes assumptions about the program which are invalid. At scale, it creates codebases which are messy and hard to maintain, understand and debug. And these are not practical limits of current LLMs which will be resolved in a hypothetical future where LLM companies will keep inventing bigger and better models. The very act of translating natural language to formal symbolism is necessarily lossy and noisy, at a fundamental theoretical level.

Any tool operates within a problem space. If we consider mathematics and calculators as an example, the user of a calculator usually has some inputs and want an output calculated. Because the desired operation is well-defined and known to produce the correct output, the operations themselves are trivial leaving only the output to be consequential. If I need the square root of 2 to 5 decimal places, I can use a standard off-the-shelf calculator because I know that this calculator uses well-defined methods to produce correct outputs. If instead you gave me a hand-coded calculator which was faster, but used approximation and non-deterministic techniques to generate the output without a correctness guarantee, the use of the calculator would no longer be a trivial part of the process, it would become consequential for me to know what process your calculator followed because it had a load-bearing impact on the output which is consequential. We can look at another example. If I want to a grill a steak for dinner, the consequential parts of the equation for me are the ingredients, recipe and the cooking process. What pan and spatula I use are trivial parts of the equation if they have no bearing on the consequential part. If however, one of my spatulas is flaking paint and is likely to contaminate the food, then it does become a consequential part of the equation, because it has a consequential bearing on the outcome.

The speed argument from programmers and the cost argument from vibecoders both assume that the tradeoffs they’re making with generative code are trivial, when in fact they are deeply consequential. Generating code faster and cheaper sounds great out of context, but in reality that fast and cheaply produced code has a significant impact on the outcome. There is a nuanced discussion to be had about these tradeoffs, and the scenarios in which some of these tradeoffs are acceptable and desirable. But the blanket argument of “it’s just like a calculator” is very far from these nuanced details. And based on my experience working with vibecoders and programmers who use generated code, they’re not making carefully thought-out long term decisions about these nuanced and tradeoffs. The most common ways I’m seeing programmers use these tools are to offload their thinking and time spent working, or getting a dopamine kick from rushing to an output faster, quality and correctness be damned. And the most common way I’m seeing vibecoders use these tools are as a cost-cutting measure against having to pay programmers to build reliable long lasting software, out of ignorance about the pitfalls of low quality incorrect code.

One of the most respected programmers in the industry, John Carmack, also described generative code as a force multiplier, but fell into the same trap of not clearly discussing all of the tradeoffs you make by using generated code. I trust that Carmack meticulously checks every line of code generated by his tools, because he has proven over several decades that he cares deeply about the correctness, performance and maintainability of his software programs. But I don’t trust random prompt monkeys on twitter are doing the same when they’re posting about their 100th single-prompt vibecoded game which becomes abandonware just as quickly as it was generated.

I urge programmers to think deeply about the art of programming and be precise in their descriptions and definitions. The software industry and the community of programmers have much to gain from a clear understanding and nuanced discussions of how we choose to craft software programs. Leave the hyperbole to the snakeoil salesmen.