Writing
- 01
The foundational skill of the AI era: process design
2026-11These days I'd rather call myself a process designer, or put another way, a process engineer. In broad terms this is a bit different from a traditional programmer...
- 02
Ant's structural pressure
2026-11I fundamentally don't believe in the so-called "mission for humanity" that Anthropic (Ant, as I call it for short) claims...
- 03
Human capability that grows with AI
2026-11I do agree with that article. I think a lot of people these days tend to exaggerate AI risk...
- 04
Testing and quality control, revisited
2026-11I still think quality control can't be one person fighting alone, and building feedback from the real production environment matters a lot...
- 05
Large-scale refactoring with shadow testing
2026-11As AI gets more capable, the bottleneck in building software is moving from generation to verification...
- 06
The trust ladder
2026-10I recently read Poteto's write-up and watched Matt's interview with her, and it stirred up quite a few thoughts. The biggest one is that it confirmed I'm on the right path...
- 07
A round of context cleanup
2026-10Cleaning out your context regularly matters a lot, especially as models get stronger and old context turns more and more into a constraint...
- 08
Why I disagree with IABIED
2026-09The reason I don't support this book is, of course, not that I'm some kind of AI optimist. I strongly support AI alignment and safe AI, even regulation. But that doesn't mean I can accept the book's...
- 09
My take on the Hugging Face attack
2026-09The recent detailed disclosure of the OpenAI attack on HF does make you think of the "fanatical optimizer" kind of AI...
- 10
Two sides of testing
2026-09As far as testing itself goes, deep coverage is fine. But it isn't enough to keep a program running solidly. Tests might cover the function...
- 11
Hiring in the AI era, and the change in paradigm
2026-08There's one claim I think is right, that hiring, the whole approach and the whole system, is going to change over time, especially now in the AI era. Because coding by hand the old way pays less and less...
- 12
What Bun's full rewrite taught me
2026-08I've mentioned process-based quality control before, and you can see something close to it in How Anthropic runs large-scale code migrations with Claude Code. What they put at the center of the whole rewrite is the process...
- 13
On reading code
2026-08Let me say something about my own view on whether you actually have to read the code. For me, I take the position of don't read code line by line, which I already talked about in Process-based quality control...
- 14
Property-Based Testing
2026-08Property-based testing. What's interesting about it is that, compared with traditional tests, it doesn't need to...
- 15
What Rust is good for in AI development
2026-07I have been thinking about Rust's features lately. A language with strong compile-time verification catches most of the potential problems at compile time, which means that even without tests, anything you manage to write already comes with tests built in...
- 16
Distributed systems
2026-07The key problem in distributed systems is getting the system to converge toward consistency as it runs. There are three core factors, the expected calibration point you set, observation, and error. What we want is to shrink the error between what actually gets carried out and the calibration point, so each measurement gives you the direction to correct in, and you keep iterating and converging...
- 17
Single responsibility
2026-07My heuristic reading of single responsibility (SRP) is "unit-testable, no side effects, a function does one thing only", and I know that isn't fully rigorous. But as a quick judgment I think it's a good one. Unit-testable...
- 18
Process-based quality control
2026-07More and more I think agentic development has to rely on a good enough quality control process to hold it up. It's like QA in manufacturing, sampling the critical parts, or controlling the whole process flow...
- 19
Complexity and software design
2026-07Analogizing complex software design to biology really is illuminating. Especially the self-organization principle of complex systems — since a large biological system can run fine without holding global information...
- 20
Asynchronous behavior and local information
2026-07The distinction between level-triggered and edge-triggered is pretty interesting. It's an important concept in async I/O, and what it refers to is the mode of triggering...
- 21
AI Coding as engineering
2026-06Andrej Karpathy: From Vibe Coding to Agentic Engineering w/ Stephanie Zhan - YouTube Stop Prompting...
- 22
Taste and aesthetics
2026-06In the AI era, every programmer has turned into the exact kind of team leader they used to hate. Six months without a line of code, coding ability badly rusted, still calling himself a technical guy...
- 23
Over-abstraction
2026-05Abstraction is good, no argument about that, it hides the details behind a complex implementation and exposes only the result, but all of this has a cost. For the user, what we normally want is convenience, solving the problem with one call without having to understand everything behind it...
- 24
Full stack and the learning science of crossing fields
2026-04I really have noticed lately that full-stack development does let you see more, especially the traps and landmines that are different on the frontend and the backend. Sometimes a frontend bug is purely the backend taking the fall...
- 25
Inversion of Control
2026-04 → updated 2026-09If you don't get IoC you'll only ever use DI as a bloated factory pattern. Take converting between XML, JSON and TXT, where you new up a pile of things inside and switch on an enum to decide...
- 26
Data-oriented module design
2026-04What I've found is that instead of coupling every kind of state inside the code, it's better to use the database as unified, shared, persistent state management. Then the functional modules can be decoupled from each other, and as modules they only care about data...
- 27
The strangler fig pattern
2026-04The strangler fig is a parasitic plant. It wraps around its host bit by bit and draws off its nutrients, until the host withers and the fig grows vigorously in its place, hence "strangling"...
- 28
Harness engineering
2026-04Harness engineering (harness as in reins and saddle, the gear that keeps a horse in line) is an interesting idea, and it looks more like an extension of context engineering...
- 29
MVC and MVVM
2026-03The biggest difference between these two is that the second one adds a reactive modern frontend framework. It used to be the controller driving page updates, all by hand...
- 30
Learning in the AI era
2026-03Anthropic's latest research has pretty much confirmed what I thought before, especially combined with learning science. Put those together and we find that learning something new does need some...
- 31
Where plan and SDD fit
2026-03plan and SDD fit when: you know what needs to be done or you trust what the AI is going to do As a friend of mine puts it, this kind of AI use, where the situation and the process are decided up front...
- 32
The constitutional structure of context
2026-03This paper is also interesting. It shows that even with a context file like agents.md, writing everything into it isn't always best...
- 33
Dependency injection
2026-03 → updated 2026-11Dependency injection (DI) is pretty interesting. At bottom it's a more abstract kind of encapsulation that makes a whole class more general or more single-purpose. Say I need a converter...
- 34
Composition and inheritance
2026-03 → updated 2026-11The key reason for composition over inheritance is decoupling, or rather, modules like building blocks, with external state and side effects removed as far as possible...
- 35
Composition
2026-03If you can describe it with "has a", use composition; only use inheritance for "is a". The way I read that is, if there's no real inheritance or dependency relationship between them and you're only...
- 36
On full stack
2026-02There really is a view that full-stack engineers are fine, but the problem is their knowledge has breadth and no depth, not specialized enough...
- 37
The right way to use it
2026-02I think the key to using an LLM is getting yourself out of the fixed mindset of just writing code. You act as the manager who plans the work, or the micro-managing supervisor who inspects it...