AI Coding in 2025–2026: Lessons from Moving from Autocomplete to Wish-Based Programming
A practical account of how AI coding evolved between 2025 and 2026, covering three stages of adoption, the shift from API billing to web-based building environments for low-cost prototyping, how to write prompts as verifiable contracts, the benefits and limits of Serverless architecture, and a security baseline for AI-generated code. Readers will find reusable prompt structures, acceptance criteria, design principles, and workflow advice for turning vague ideas into auditable engineering work.
1. Introduction: Three Turning Points Across Two Years
Looking back at the dense period of using AI coding tools from 2025 into 2026, my experience breaks into three stages. The first was the “plugin autocomplete era,” which relied mainly on in-IDE code completion and local refactoring. The second was the “conversational generation era,” where I started handing whole requirements to a model and letting it produce a runnable skeleton. The third is the “wish-based programming era,” where I describe only the goal and the constraints, and the model fills in most of the implementation details.
What actually changed the way I work along this timeline was not model parameter counts, but three things: longer context windows, maturing tool-calling capabilities, and billing and quota mechanisms that gradually became clear. Only when these three overlapped did the cycle from idea to runnable prototype shrink from days to hours.
2. Cost Structure: Why I Moved to Web-Based Building Capabilities
Early on, my main cost came from API usage fees. In high-frequency trial-and-error scenarios, pay-as-you-go billing creates a real psychological burden: every time I wanted to validate an idea, I had to estimate token consumption first. That pushed me to try less and try slower, which actually reduced my iteration speed.
One key observation at the time was that building capabilities offered by some platforms were not charged against quota at that stage, which effectively opened a low-cost channel for prototype validation. So I moved exploratory work with high risk and high uncertainty into those environments, then migrated the code back to local projects and CI once it stabilized. The point of this strategy was not saving money, but converting the cost of trial and error from per-call billing into time cost, which made me more willing to make decisions and act on them.
To be clear, billing rules differ widely between platforms and change dynamically, so “free quota” should never be treated as a long-term assumption in engineering. The safer approach is to plan a cost budget and a fallback strategy: use low-cost general capabilities to filter ideas first, then invest stronger models and fuller testing in the options that pass the filter.
3. Wish-Based Programming: Writing Requirements as an Acceptance Contract
“Wish-based programming” sounds casual, but making it reliable depends on writing the wish as a contract. My prompts usually contain five sections: goal, technical constraints, input and output, acceptance criteria, and prohibitions. An example:
Goal: implement a stateless form collection serviceConstraints: Serverless function + managed object storage, no long-lived connectionsInput: JSON with fields name/email/messageOutput: {"ok":true,"id":"..."}Acceptance: invalid email returns 400; repeated submissions are idempotent; logs contain requestIdProhibited: no heavy frameworks, no writes to the local file system
When acceptance criteria can be verified programmatically, the quality of model output improves significantly, because the model is no longer guessing what you want but satisfying a set of explicit assertions. In practice I also have the model produce unit tests and local run instructions, execute them with an automation script, and feed failures back to it, forming a closed loop.
4. Architecture Choices: The Benefits and Boundaries of Serverless
The project mentioned above could ship quickly largely because of a Serverless architecture: no operations overhead, elastic scaling per invocation, and a natural fit for event-driven work. It also has clear boundaries: cold start latency, execution duration limits, statelessness constraints, and no reliance on a local file system.
So I stick to three design principles. First, functions handle only orchestration and validation, while heavy logic moves down into reusable libraries. Second, state lives externally in object storage or a managed database, keeping functions stateless. Third, long-running work is split into asynchronous flows driven by a message queue to avoid timeouts. Illustrative pseudocode:
def handler(event, ctx):data = validate(event["body"]) # strict validationkey = make_idempotent_key(data) # idempotency keyif exists(key): return ok(existing(key))put_object(key, data) # externalize stateenqueue(key) # async processingreturn ok(key)
5. Security: A Low Barrier to Entry Does Not Mean Low Standards
The biggest risk during the exploration phase, when general capabilities are used to build prototypes fast, is that “it looks like it runs” hides security problems. My baseline checklist includes least-privilege access control, strict validation of all input, secrets kept out of code and logs, rate limiting on external interfaces by default, and traceable identifiers across the full logging chain. For stateless services, there is an additional need to prevent resource abuse, for example by setting hard limits on upload size, request rate, and concurrency.
Prompt injection and sensitive information leakage need guarding against as well: do not put secrets into the prompt context, do not feed raw logs back to the model, and redact first when necessary. Security is not a single check before release but a continuous constraint written into the acceptance criteria.
6. Reflections: Living in a “Death Stranding”-Style Connected Age
The “Death Stranding” metaphor fits well: we are not replaced by tools, we are connected by them. Developers act more like nodes, responsible for defining goals, validating results, and bearing final accountability. Models are good at divergence and generation; people are good at convergence and trade-offs. The genuinely scarce skill is translating a vague wish into a verifiable engineering contract, and making trade-offs among cost, latency, and security.
My advice to peers: build your own library of prompt templates and acceptance scripts; separate exploration from delivery, favoring speed in exploration and stability in delivery; stay budget-conscious about cost without being held hostage by quotas; and move security and observability to the front. Do these, and wish-based programming stops being guesswork and becomes a repeatable, auditable engineering method.
