NewsCrawler.org

The most valuable thing in the AI coding era: software engineering (part 2)

This is the second part of a series arguing that in the AI coding era the most valuable asset is software engineering skill: of the four failure modes named in part one, it covers three — misaligned understanding of the task, verbosity, and code that does not run — while the fourth, building a big ball of mud, was covered there. The author splits coding into tactical work — fixing a local bug, adding a field, correcting a function — where AI already does an estimated 90% or more, and strategic work — whether a module should exist, where to draw the boundaries, where to hide complexity — which AI cannot handle in the short term. A tactical mistake shows up in ten minutes, while a strategic one, such as tangled data flow, can take nine months to surface, so the only strategic help from AI is faster feedback. Knowledge — syntax, APIs, how to use things — has become nearly free, while wisdom — judgment, trade-offs, knowing when not to do something — remains rare, and that is what people pay for.

To break AI's habit of working layer by layer — all the database tables first, then all the APIs, then all the pages — the author prescribes tracer bullets[1], an approach The Pragmatic Programmer brought into software engineering more than twenty years ago: each chunk should be small but complete across database, API, page and tests, like an MVP of the code that fits into a fresh context window[2]. Against misaligned understanding, the author points to grill-me and grill-with-docs, the two most popular skills in Matt Pocock's open-source repository github.com/mattpocock/skills, a pack of skills for tools like Claude Code and Codex invoked with slash commands: they make the AI ask questions first, forcing the human to spell out who the feature is for, what does not yet count as done and where the boundaries lie. Against verbosity, the fix is a shared glossary in CONTEXT.md — one precise name per concept plus a line retiring the synonyms — an application of the Ubiquitous Language[3] practice from Eric Evans's Domain-Driven Design, which used to save human-to-human communication and now saves human-to-AI communication as well.

For code that does not run, the answer is feedback loops, and the valuable part of testing is the order, not coverage: write one failing test first and only then the code that passes it — the red and green of TDD[4] — because a failing test is one of the few things AI cannot fake, and the expected value must come from outside the code, never from the code itself. Writing and reviewing belong in two separate sessions, since a model in the session that wrote the code usually says there are no problems; checks that were skipped because people found the wait annoying, such as a three-minute pre-commit run, are worth restoring now that AI does not mind waiting; and a constraint that lint can enforce belongs in lint, not in CLAUDE.md, the project instructions sent to the AI with every request. The conclusion: the tool changed but the methods did not, and architecture now also serves a subordinate with no memory and no taste but extremely fast hands and strong capability.

Read the original juejin.cn

Discussion

The single comment calls the piece inspiring.

Sources

  • CNJuejin ZH

    AI coding 时代最值钱的东西,软件工程(下)

    8 likes627 views1 comment13 saves

Published: First seen: Читать по-русски

Open as a page