Skip to content

Checking your reading list…

Retry verification

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

AI Writes Code Faster, So Why Do Senior Engineers Still Hand-Code?
Industry Insights 12 min read

AI Writes Code Faster, So Why Do Senior Engineers Still Hand-Code?

The article analyzes three perspectives on AI code generation versus hand-writing, revealing that while AI accelerates coding, it fails at complex architectural decisions and creates maintenance burdens, making human judgment essential for quality control and system understanding.

Three Perspectives on AI Coding vs. Hand-Writing

A Zhihu question with 86 answers sparked debate: since AI can generate code instantly, do programmers still need to hand-write? Three distinct positions emerged, each addressing a different layer of the problem.

1. Tool Layer: AI as Enhanced Autocomplete (程墨 Morgan)

Morgan argues that "persistence" is meaningless unless external forces prevent AI use or internal temptation demands it. He compares AI code generation to IDE function autocomplete: both present candidates for the programmer to choose. The essence hasn't changed; only candidate length has. When autocomplete arrived, critics claimed it destroyed programming purity; today nobody codes without it. His bottom line: delivered code quality and requirement satisfaction matter, not whether it was hand-written or generated. Implicit premise: you must be able to judge delivery quality. Morgan, with 10+ years of experience, can instantly assess AI output. For others, that premise may not hold.

2. Project Layer: Real-World Test Shows AI Collapse on Complex Systems (DBinary)

DBinary tested the then-strongest model (opus4.7) on a compiler-debugging framework — a mid-to-high complexity project for "programmers who write compilers," not CRUD work. He copied the project, gave requirements, and accepted all AI suggestions without interference. Four rounds cost ~30 yuan in tokens and produced largely unusable code:

Round 1: Compiled but didn't run. AI invented a whole new state machine for MessageBox, duplicating existing state management in PX_Object_Debug. Two independent state systems on one object is a disaster. Unused functions appeared.

Round 2: Architecture failed. AI coupled debugger and socket communication via function pointers, welding modules together. Correct design uses a FIFO queue for decoupling, orchestrated by top-level main. AI judged connection by socket state, not business-level get_state request/response. "Direction wrong, everything after is wrong." Round 3: Detailed spec, local code only. Even with near-pseudocode specs, AI added spurious bounds checks for optional rdata sections, re-initialized already-initialized data, and mishandled union types. Code wasn't strictly wrong but shouldn't exist.

Round 4: Bug finding. A display bug took the author two minutes via breakpoint stepping ( view_source_index stuck at -1). AI was slower. The root cause was AI's own earlier "defensive" variables that were never needed.

Verdict: AI contributed less valid code than the author writing himself.

"Current AI will mess up everything you don't spell out."

3. Capability Layer: Giving Up Hand-Writing Surrenders Control (大大大大大芳)

This PMP-certified answerer draws a parallel to language choice: he learned Scala for Spark/Flink ecosystems, but when Flink dropped Scala, maintainability collapsed and he returned to Java. The feeling wasn't about power — it was control returning. With AI, he can generate Rust, Python, Go, C, C++ quickly, but without AI he can't do real engineering in those languages. With Java, even AI-generated code he can take over, modify, extend, understand structure, infer design intent, and pin down issues.

He breaks this into three points:

No hand-coding foundation → no true control over AI output. AI writes but doesn't understand for you. Without hand-written grounding, you're reading a black box.

AI creates illusion of deep participation. You review AI-generated specs, designs, code superficially. No mental model formed, no judgment formed, no challenges raised. Veterans spot unreasonable abstractions, over-engineering, performance traps in AI output; AI excels at writing them, not at writing them right. If you can't see the flaws, you're just "vibe coding" with better tools.

AI inherently over-engineers. To appear complete, it adds extra interfaces, unnecessary layers, over-abstracted patterns, verbose configs. Short-term pretty, long-term burden. Veterans instinctively subtract — know where to abstract, where to hard-code. That judgment comes from line-by-line experience; AI can't give it.

Synthesis: Three Layers, Three Different Questions

The conflict dissolves when mapped:

Morgan (Tool Layer): AI is stronger autocomplete. Applies to CRUD, frontend pages, small features.

DBinary (Project Layer): AI fails on complex design. Applies to compilers, architecture, core modules.

大芳 (Capability Layer): Must write first to earn right to supervise. Applies to long-term career development.

Author's practice confirms the split: use AI for exploration (spin up multiple sub-agents to walk implementation paths, human chooses macro direction), then impose strict constraints and let agents run — don't treat AI as a wishing well. Critical code review and acceptance remain human. This mirrors team AI R&D rollout: speed gains are pre-writing and during writing; post-writing judgment, acceptance, and safety net cannot be removed, only shifted from "writing code" to "judging code." A commenter nailed it:

"AI is not a wishing machine; it's currently an efficiency amplifier."

Conclusion: Hand-Writing Persists for Control, Not Nostalgia

Yes, keep hand-writing. Not for sentiment, but for control . AI is a tool, not a capability. Hand-writing's value isn't efficiency — it's being able to say "I know what this system is doing." The three-layer division in daily work: Use AI for speed, hand-writing skill for quality, engineering experience for final judgment. AI can complete work for you; it cannot take responsibility for the result.

About this article

For questions about attribution, corrections or content rights, please contactadmin@besthub.devand we will review it promptly.

Published

AI-assisted summary

Report an issue with this article
AI code generationsoftware engineeringtechnical debtAI-assisted programmingarchitectural designsenior developerscompiler developmentengineering judgmentdebugging frameworkhand-written code

Reader feedback

Was this useful?

Useful0

Discussion 0

Questions, practical examples and thoughtful responses.

Open full discussion