FAQs
Is AI just another abstraction layer over code?
That idea sounds appealing, but it breaks down quickly. A compiler pipeline translates one formal representation into another. Programming languages have specifications, strict grammar, defined semantics, and deterministic transformations into lower-level representations.
Prompting an LLM is different. A prompt is natural language steering a probabilistic model. The model is not compiling your intent with perfect fidelity. It is inferring what you meant from context, filling in gaps, and generating the most plausible next tokens based on patterns in training data.
Some of the key differences are:
- Formal syntax vs natural language: Source code is parsed against a language specification. Prompts are ambiguous and rely on interpretation.
- Deterministic translation vs probabilistic generation: The same program compiles the same way. The same prompt can produce different answers.
- Preserving authored logic vs inferring missing intent: A compiler lowers what you wrote. An AI system guesses what you meant and may invent unstated details.
- Clear errors vs plausible failures: Compilers reject invalid programs. AI often returns output that looks reasonable even when it is wrong.
- Single transformation vs full system behavior: Compilers are one part of a well-defined toolchain. AI output is shaped by the model, prompt, retrieved context, tools, and the system around it.
Treating AI as just another abstraction layer over code leads to overconfidence. It suggests that if you can describe the problem well enough, the output is simply a higher-level program being lowered into code. That is not what is happening. AI can misunderstand the request, invent unstated details, favor familiar patterns over correct ones, and produce different answers to the same prompt.
This distinction matters because it changes what the human is responsible for. When you write a program, the compiler preserves the program you authored. When you use AI, you are also responsible for whether the system interpreted your request correctly and whether the result is actually fit for purpose. AI is a powerful accelerator, but it is not an abstraction layer over software development.
Isn't writing code by hand dead now that we have AI?
This critique takes several forms:
- Referring to typing code as "artisan coding" or a dying skill.
- Questioning the point of having an IDE at all if AI can generate code for you.
- Questioning if you need to learn a programming language if AI can generate code for you.
- Questioning why you need to look at the code.
This critique is often leveled at people who push back against AI adoption. It sets up this false dichotomy that you are either writing code by hand or you are using AI. The reality is that there is a spectrum of usage, and the best results come from using AI to augment your own skills rather than replace them. Augmenting your skills means that you still need to be able to work with the code. At some point, you need to validate that the software is working correctly. The level that this validation needs to take can vary based on the project. A simple tool that is just meant to speed up your own workflow likely needs little to no validation depending on its purpose, while software that manages critical infrastructure or sensitive data will need a much higher level of validation. The key question to answer is "How do you know the software is working correctly?" I believe all software that has meaningful impact on people or businesses needs to be able to provide an answer to this question.
The business case for AI is very clear. You can trade tokens (and consequently money) for developer time. AI can type lines of computer code faster than me. However, reducing software development to merely typing speed misses the point. The basic tenets of software engineering are even more important now that AI is about to turn ideas into code faster than ever before. The ability to reason about the software, understand the problem domain, and validate that the software is working correctly is more important than ever.
It doesn't matter what you use to get code into files, whether it is typing it, copying and pasting it, dictation, or using AI. What matters is that you are able to reason about the code and validate that it is working correctly. Sometimes entering the code slower gives you time to think and reason about the problem space. Even before AI, engineering teams would do this through documentation, specifications, design reviews, or even by sitting down in front of an IDE and working through the problem with code. There are iterations of reasoning that are done as you work through those problems. They are written out, rewritten, and refined. Working through problems by writing them out in a programming language just happens to be a very precise way of modeling a problem space, often more succinctly and precisely than natural language. For many engineers, writing code by hand is a way to work through those problems.