← Prajjwal Chittori

Wu Wei: The Best Code Looks Like It Wrote Itself

Prajjwal Chittori · December 2022

Lao Tzu has a concept that ruins your relationship with effort once you actually get it: wu wei. Usually translated “non-action,” which is misleading, because the Tao Te Ching is not telling you to do nothing. It’s closer to effortless action. Action so aligned with the grain of the situation that it stops feeling like forcing. Water doesn’t strain to flow downhill. It goes where the shape of the land already invites it. And it carves canyons.

Every engineer has met both kinds of code. There’s code that fights the language, fights the framework, fights the shape of the problem. A wall of special cases and flags, each one a place where someone forced their will against the grain. And there’s code where you read it and think of course, what else would it be. Where the solution sits in the problem so naturally it feels discovered rather than invented. The second kind is wu wei. It looks effortless precisely because enormous effort went into finding the path of least resistance instead of bulldozing one.

This is the trap that catches strong, ambitious people specifically. Strength tempts you to force. You’re good, so you can muscle a bad design into working through sheer will and hours. You can grind a doomed product into a slightly-less-doomed product by sleeping at the office. And because you can force it, you stop asking whether you’re going with the grain or against it. Lao Tzu’s warning is that forcing always costs more than it looks, and the thing you forced into existence has to be forced to stay alive, forever, by you. You become the load-bearing strain. Take your hands off and it collapses.

The soft overcomes the hard, that’s the other half of the same idea. Water beats rock not by being harder but by being patient and shaped. In a competitive market, the wu wei move is to find the direction things are already flowing. What users already want to do, what the technology is already making cheap, what the regulation is already pushing toward, and align your push with that current so the market’s own momentum carries you. The forcing move is to fight the current because your plan said the river should run the other way. One of these compounds. The other exhausts you and then a competitor floats past on the current you refused to read.

I have to be careful here because “effortless” gets misheard as “lazy,” and this cluster gets read by people deciding whether to trust me with hard things. Wu wei is not the absence of work. It’s the absence of wasted work. The water carving the canyon is doing tremendous work, it’s just not straining against itself. The discipline is to put your effort into finding the grain instead of overpowering the grain. That front-loaded, invisible work is harder than brute force, not easier. It just doesn’t look like sweat from outside.

So next time something is hard in that grinding, white-knuckle way, treat the difficulty as data. Sometimes hard means worthwhile. Often hard means you’re going against the grain, and there’s a path down and to the right you haven’t found because you were too busy pushing. Stop pushing long enough to see the shape of the land. Then let the work flow the way water already wanted to.


One of a series of essays. I’m Prajjwal Chittori. prajjwalchittori.com.