The importance of understanding what the fuck is going on
110 points - yesterday at 9:41 PM
SourceComments
This is a problem right now, before LLMs replace people who knew how it worked.
"The mending apparatus is itself in need of mending." - The Machine Stops, E. M. Forster (1909).[1] Yes, the year 1909.
Has the world ever been so simple that a single inhabitant, or even the sum of all inhabitants, fully understood it in a meaningful way? Even if you took the sum of our current understanding of the world across every possible vector - mathematics, physics, sociology, aesthetics, etc. - and transplanted it into a pre-computing era, there would still be heaps of things that we don't understand. And without computing, considerably fewer people would even be able to access a fraction of that understanding.
I guess one of my gripes about the way people talk about the AI revolution is that it oversimplifies the past and/or the present. We talk about AI disempowering people as if the vast majority of the world's population is not already disempowered. We talk about AI making the world incredibly complex as though it is not already complicated beyond the ability of any mind to grasp at once. We talk about past technological revolutions as though they were just blips on the radar, because we are the descendants of the people who were not consumed therein. Even if AI (as a phenomenon) winds up being the biggest, baddest thing that has ever happened, we should not pretend that we as a species have no experience with big, bad things.
Whoever stated this, assuming there is possibility for any single human being to to understand the world, is by definition unconscious of the impossibility inherent in the premise. A part cannot understand the whole, or the whole is always more than the sum of its parts.
For a long time I struggle with being a manager. After declaring defeat, and being content with being an manager of AIs, I realized being a manager is about dealing with inherently uncontrollable and impossible to understand parts, and make them working together as a bigger whole. And a pair of engineers probably is the upper limit of 2 people understanding each other like oneself. Beyond that, the world is by definition impossible to be understood.
AI just revealed the sad truth to the naive software people. And I suspect most other engineering disciples already learned that long aga.
This is so true. I had to push back some tasks in the grey areas and consciously sacrifice my chance of career survival to buy me more breathing time and sanity to work on something truly important to me.
I have to say that I’m picky on managers. There are two types of managers that I can serve well —- one type is some greybeard who is very well versed in the technical world and can guide me from the vintage point without micromanaging, the other is someone business savvy who is a great project manager.
I don’t work well with managers who not only neglect project management (priority management) but also keep grabbing those grey area projects (not sure who should do it). Those projects are grey for a reason —- they maybe important but are so boring, frustrating and unfit for engineers to directly consume.
A property of software is that the code can be written to be arbitrarily interconnected, thus bugs can be arbitrarily complex. Deeply investigating the cause of a particular bug (dynamic linker doesn't special-case unaligned segments -> ... -> CPU sees different machine code than your debugger) can be fun and time-consuming and ultimately of little value, because that entire trivia graph is rooted in one particular bug of one dynamic linker implementation. Fix the bug and that trivia becomes worthless.
Similarly, understanding the quirks and errata of a particular library or OS to the level that the location of a bug can be intuited from a few log lines can be tactically useful, but it's less useful than eliminating those quirks and fixing the errata. Each time something unexpected happens due to memory corruption, the goal should not be to understand that particulars of that bug, it should be to mechanically eliminate the possibility of memory corruption in that subsystem.
Sure it's less fun to have a library or program that simply does what you want it to, and you spend less time on difficult tasks that only a skilled and experienced programmer can handle, but every minute you spend studying buggy behavior is a minute wasted. It's like memorizing the lore of a TV show, eventually it'll go off the air and then what was that time spent for? To be a human wiki page?
Time spent studying the structure of correct programs can yield valuable insights from system architecture to performance optimization, some of which apply across any layer of the abstraction stack. Do that while your herd of LLMs hunt down the handling of unaligned .text sections in the dynamic linker.
Ted Kaczynski was a murderer and a terrorist, but I re-read his manifesto recently (Industrial Society and Its Future) and talks about what might happen in such a world where humanity no longer fully understands science and technology.
It's a good re-read along with The Future Doesn't Need Us.
The horizontal complexity in large codebase touched by AI, especially if dynamic languages are involved is extremely high these days.
AI for learning is good I feel. Understanding shouldn't be restricting the researching part. Use every tool available for the job.
Fight mysticism indeed, that's a good rule to follow, but don't get tired following little rabbits down deep holes all day.
If it's not a big deal then the codebase isn't as intense as you picture it to be.
I remember hearing the same conversations about new JavaScript devs who had never had to do manual memory management aren’t real programmers, etc etc. Or the copy-paste Stackoverflow devs don’t really understand what’s happening. Or even the snide remarks that C devs would make about Java. Or even the concept of having a compiler.
Nonetheless some of the best developers I know started in one of those “lesser” generations and learned the other stuff if it turned out to be important or fun.
I think the AI era makes it more important than ever to understand how many layers deep you should go. Because it’s now effortless to do what resembles the job at 0-1 layers of understanding.
Quality matters. The BMW motorbike dude who didn't care much about how the machine worked vs the writer who insisted on understanding why his bike breaks.
* I didn't like Robert Persig's book that much to have finished it three decades ago, but I got the gist of it then and the BWM guy and his philosophy has always stuck with me as a cautionary tale. Maybe I should read the book in my older more zen age. :-)
So:
1. Software _engineers_ are mostly failing in actual engineering, producing overcomplicated underdocumented piles of crap one after another. Nota bene: this often is due to external circumstances, such as deadlines and changing business requirements, but it's unrelated.
2. But it's not that bad! Because there always are a few graybeards who witnessed the act of creation, and keep the most obscure knowledge in their heads.
3. AI allows to produce overcomplicated underdocumented piles of crap at unprecedented speed. But without the graybeards!
4. Probably AI can do the graybeards' job, maybe even better (models excel people on debugging pure software bugs, and with some harness shenanigans are very good ad debugging business logic). But relinquishing the job to the machine feels like loss of control, and people don't like that feeling.
5. Somehow this is an argument against AI, and not against producing overcomplicated underdocumented piles of crap. Well, I guess if you squint hard enough...
"It's great to have a competent greybeard with years of experience with the codebase and environment"
And I completely agree! It's great when you have that.
In my experience it's rare.
I think it's much better to annotate code and docs with WTFesque lore and tidbits—there's a chance either grep or Claude will find it later when it's relevant. It may help explain the WTF to engineers of tomorrow and expedite a fix, or, ideally, avoid it from recurring.
I wrote more about this ages ago, when code was still typed by humans: If Something is Odd, Inappropriate, Confusing, or Boring, It Is Probably Important.
https://photostructure.com/coding/odd-inappropriate-confusin...
And yet, you are leading them. Can you see why not many want to follow their footsteps?
A great teacher can make you curious about what they're telling you — but a great teacher will not be present the next time the system makes you go, "what the fuck?"
In the early days, people were doing this kind of work largely for intrinsic reasons. They were actually curious about how things worked.
As the demand went up, people got into it more for extrinsic reasons ("tangible rewards"), and the percentage of people with strong intrinsic motivation went down.
That's a simplified view, and of course many people can develop passion and deep expertise, but it is directionally true.
AI isn't doing anything different, with the exception that it is showing its working (WRT Riemann solution)
That ship sailed a long time ago.