In "Programming as Theory Building" Peter Naur gives an example of one team handing a project to another team, and the second team struggling to work on it. Yes, code is the ultimate source of truth, and is an interface between both a programmer and a computer, as well as between two programmers, but it's not everything. By programming, you develop an understanding of the problem and your solution to that problem, and code can be seen as a mere artifact of that.
How relevant is that in the age of AI is to be seen I guess.
The thing is that both are true, which informs most of the opposition to AI code generation.
That yes, the code is nominally worthless and the true value lies in the understanding of the problem domain.
But that understanding has to live somewhere. Obviously, first and foremost it lives in the developers' brains. Secondarily it lives in all the documentation and reports.
Neither of those two are much valued in our industry. Documentation is hard and often sucks, turnover is high with companies being outright hostile to the idea of institutional knowledge, so the third place this understanding lives is quite valuable as it's the only one that persists: The Code.
> How relevant is that in the age of AI is to be seen I guess.
To reuse Naur's example: A codebase that already elegantly models and encodes this understanding is so much more valuable and easy to work with than one which doesn't, even if both are so functionally identical they build to the same exact assembly.
In effect, the new caretakers are protected by the thousands of micro-design decisions in the a good codebase, each protecting against a problem the new dev doesn't even know exists. Conversely, a bad design endlessly tempts them with mistakes and requires constant second-guessing.
The current vibe is very much focussed on going fast, faster, fastest. But slow and steady may very well win this race; AI benefits just as much from good design as a human developer.
[dead]
That kind of handoff happened to me at a large american bank. A scottish dev team gave us something they had built for us, and it was the hardest thing for us to work on. Then our new director had a contractor team do an aws migration for our apps completely siloed, and since we hadn't worked on any of it, it took months for us to get a good grasp. As soon as the second handoff got dumped on us we started leaving, from the principal engineer to the college hires to me in between. It's almost always better to just have things delivered slightly slower by the team that will own it in the future.