AI Coding in 2025–2026: Practices, Pitfalls, and Lessons Learned

    This article reviews how AI-assisted programming evolved from chat-based Q&A to inline editor agents and task-level delegation, and argues that the bottleneck has shifted from code generation to governance. It covers the real value of zero-cost visual app builders, a four-layer context engineering model (task, code, constraints, feedback), and a multi-layer verification loop that turns unverifiable output into maintainable code. It also names three AI coding practices worth opposing and gives role-specific recommendations for individual developers, team leads, platform builders, and compliance teams.

    1. Introduction: When Proof Length Exceeds Human Reading Bandwidth

    Late in 2026, a research team of mathematicians announced a result that media outlets called the breakthrough of the year: with the help of a large language model, they completed the proof of a long-standing problem in number theory. The result itself was striking enough, but what actually silenced the engineering and research communities was its length — reportedly on the order of hundreds of thousands of pages.

    There is an engineering fact that is easy to miss here: formal verification (for example, checking with an interactive theorem prover such as Lean) can confirm that “the conclusion holds under the given axioms and rules,” but it cannot replace “human comprehensibility.” A verifier answers “is it correct,” not “why.” When the reasoning chain is far longer than the reading bandwidth of any individual or team, what we get is a conclusion that is trustworthy but unreadable — a black box.

    The connection to this article’s topic is indirect, but it offers a fitting metaphor: we are in a stage where results can be verified while the process is hard to reconstruct. In software engineering, the same contradiction resurfaces in another form — AI-generated code may compile and pass tests, yet remain incomprehensible to whoever has to maintain it. Understanding this is the premise for all the practical advice that follows.

    2. Timeline: From the Chat Box to Engineered Workflows

    Looking back over these two years, AI-assisted programming went through roughly three stages.

    The first stage was conversational assistance, built mainly on general-purpose chat assistants. The typical usage was “paste this error in and ask how to fix it.” Its value concentrated on knowledge retrieval and concept explanation, overlapping heavily with search engines plus Q&A communities, and its actual contribution to engineering output was limited.

    The second stage was inline completion in the editor and plugin-style agents. AI coding tools were embedded in the editor as plugins, able to read the current file, search across files, execute terminal commands, and make iterative edits. The key shift: AI moved from “answering questions” to “submitting changes,” and the developer moved from “asker” to “reviewer.”

    The third stage is task-level delegation. The developer describes the goal and constraints in natural language, and the tool decomposes the task, creates files, runs builds and tests, and self-corrects on failure. The core tension has now moved from “can the model write code” to “how does the human define boundaries and acceptance criteria.”

    3. Zero-Cost Start: The Real Value of Visual Building in the Browser

    During periods of heavy API billing pressure, the visual building capabilities some cloud platforms offer in their consoles (roughly, “generate a runnable app from natural language”) became a low-barrier entry point. Their engineering significance is often underestimated, for three reasons.

    First, the feedback loop is extremely short. Describe a requirement, immediately see an interactive page — that second-level feedback is very effective for requirement clarification, because many requirements only reveal what you don’t want once you see the interface.

    Second, no upfront infrastructure investment is required. Managed runtimes, default authentication, built-in data tables and similar capabilities compress “environment setup” — the step that most easily exhausts beginners — to nearly zero.

    Third, it naturally fits stateless, low-sensitivity scenarios. Take a static site with no server-side persistence or a lightweight API service as an example: small attack surface, low rollback cost, and therefore well suited as the first exercise in “wish-based programming.”

    What needs to be recognized soberly is that the output quality of such capabilities depends heavily on the platform’s default templates and the model’s preferences at that moment. One reusable lesson: treat generated results as prototypes rather than finished products, and connect version control and automated checks as early as possible, to avoid producing “one-off code” that cannot evolve.

    A minimal acceptance checklist, illustrative:

    1. - Is the build reproducible (succeeds on the first try in a clean environment)
    2. - Are there any hardcoded secrets or sensitive configuration visible to the frontend
    3. - Is input validated and output escaped
    4. - Is there basic error handling and timeout control
    5. - Is the generation source and key decisions recorded for later review

    4. Context Engineering: The First Variable That Determines Output Quality

    Once you reach the task-level delegation stage, what usually decides success is not model capability but context quality. In practice this breaks down into four layers of context.

    • Task context: the goal, the non-goals, the acceptance criteria. A missing “non-goals” section is the most common failure source — the model will proactively expand scope.
    • Code context: directory conventions, dependency versions, existing abstractions. Having the tool read the key files before acting significantly reduces reinvented wheels.
    • Constraint context: performance budgets, compatibility requirements, security and compliance red lines, categories of dependencies that must not be introduced.
    • Feedback context: the real output of builds and tests. Handing the raw error log to the tool is far more effective than paraphrasing it yourself.

    An example of a convention file that can actually be adopted (placed at the repository root so tools read it automatically):

    1. # Project Conventions
    2. - Language and framework versions follow the lock file; no unilateral upgrades
    3. - New dependencies require a stated reason and must be recorded in this file
    4. - All external interfaces must include input validation and a unified error structure
    5. - Lint and unit tests must pass before committing
    6. - No real credentials anywhere in the repository; use environment variables exclusively

    5. Closing the Verification Loop: Turning “Unreadable” into “Maintainable”

    For the “unreadable process” problem raised at the start, the engineering answer is to build a multi-layer verification loop that replaces trust in reasoning text with executable checks.

    1. Static checks: type checking and lint rules keep a large class of low-level errors out before review.
    2. Unit tests: add tests for new behavior, and require that tests be derived independently from the requirement description rather than copied from the implementation.
    3. Property-based tests: for pure functions and serialization logic, describe correctness with invariants — more resistant to missed cases than enumerating examples.
    4. Integration and end-to-end tests: cover critical paths, especially irreversible operations such as authentication, payments, and data migrations.
    5. Change visualization: enforce small commits so that every round of AI changes can be understood and rolled back on its own.

    Supporting engineering discipline matters just as much: small commits, conventional commit messages, and change descriptions (what was generated, what the human modified). Together these compress “black box output” back to a granularity humans can review.

    6. The Practices I Strongly Disapprove Of

    I have to admit I can no longer go back to a way of developing without AI. Retrieving boilerplate, migrating across languages, scaffolding tests, drafting documentation — the efficiency gains in these areas are structural.

    But there are three usages I think must be explicitly opposed.

    The first is “ship it without understanding it.” Pushing code you cannot explain straight into the main branch essentially transfers complexity to future maintainers and leaves the system undiagnosable when it fails.

    The second is mass-producing low-information content. Using generation capacity to turn out templated articles at scale, fabricate experience posts, or spam placeholder repositories pollutes the corpus that knowledge retrieval draws on and forces newcomers to pay a higher screening cost — a different manifestation of the same “unreadable proof” problem.

    The third is bypassing review and compliance. Using AI to evade detection, fake tests, or hide sensitive information trades short-term gain for long-term uncontrollable risk.

    The position should be clear: affirm the technology, oppose scaling up output that cannot be verified.

    7. Actionable Advice by Role

    • Individual developers: position AI as “an efficient but review-required junior collaborator,” and stick to small commits and writing acceptance criteria first.
    • Team leads: institutionalize the convention file, the check pipeline, and review rules, so AI output enters the existing quality system instead of an exception lane.
    • Platform and tool builders: fill in observability (logging, monitoring and alerting, distributed tracing) and permission governance on top of general capabilities, so both “generation” and “runtime” are auditable.
    • Enterprises and compliance: define data classification and cross-border boundaries, prefer private or dedicated deployment for sensitive scenarios, and retain a complete change trail.

    8. Conclusion

    From conversational Q&A, to agents inside the editor, to task-level delegation, the center of gravity in AI coding has shifted from generation to governance. The genuinely scarce skill is no longer writing code but defining the problem, constraining the boundaries, and designing verification. When machines can produce output beyond human reading bandwidth, the answer is not to read faster but to build trustworthiness on executable checks and small, rollback-friendly changes. That is both an engineering method and a sane posture for living with this kind of technology over the long term.