In the code written by AI, I have never seen any construct or solution which I could not understand. The code looks like something written by a competent engineer, it just covers much more edge cases than a human programmer would - maybe sometimes unnecessarily so. Would understanding such code take time? Definitely. But doable.
In the world of programming I do not experience a situation similar to how the math wizards are currently wrestling with the proof of the Riemann Hypothesis: with the models I currently use, I haven't seen any traces of an "alien mind" whose crazy solutions have to be deciphered or made sense of by man.
For us the worst case feels similar to that situation when someone is dropped into the middle of a sprawling codebase and is expected to understand some part of it / make a change in it without having any grasp of the whole. Difficult? Yes. But this has been bread & butter for maintenance programmers.
In my experience this is only true on a local level. Going down to individual lines of code, AI-written code looks fine and understandable.
But on a global level, the systems created by months of prompting with many more PRs per day than ever before, slowly turn into a convoluted coupled and oftentimes near impossible to understand mess. This mess can easily be repaired if it happens in a private project without a production system and clients that rely on your software. But in the real world it often slows us down so much that we are progressing less than in pre-AI times. At least to me it’s shocking to see that only few months of turning off your brain lead to this.
Future engineers working on those projects will have no chance at all to ever understand what is happening. They can only prompt and pray.
> slowly turn into a convoluted coupled and oftentimes near impossible to understand mess
Yeah, this was already normal for many enterprise CRUD apps before LLMs. What is different now? I have worked on many enterprise CRUD apps where large portions of them were not understood by most devs on the team. I think this partly explains why there is such a push every X years to rewrite big enterprise CRUD apps in the latest tech.
The only thing I can imagine to mitigate this is if a senior engineer who wants to prevent the degradation invents some counterbalance system - most likely also with the help of AI - which keeps "grooming" the codebase so that it has a chance to get back into a healthy shape.
I am thinking of something like an agent skill - integrated into CI - which calls out places where it sees this form of degradation. While creating/updating the skill, the engineer is forced to understand what the unwanted rot/degradation looks like. Intelligence can be gathered into the skill to identify it. Then at least the rot becomes visible and there is a metric which can be optimized.
Of course, this needs mgmt which understands the necessity of this grooming process. If such mgmt does not exist, that's truly a dire situation.
It seems like the maths wizards are also in a similar situation where it just took a bit of time to get used to the new normal. Now a growing number of people are confident that they'll have understood the Riemann hypothesis solution in the not-too-distant future
> In the world of programming I do not experience a situation similar to how the math wizards are currently wrestling with the proof of the Riemann Hypothesis: with the models I currently use, I haven't seen any traces of an "alien mind" whose crazy solutions have to be deciphered or made sense of by man.
The (a?) problem is volume/quantity. Of course each statement in that code, in isolation, is understandable by a human. But by sheer volume, the thing just eventually becomes too big to be comprehended by a human. "Oh I just use an LLM to explain it to me" .. exactly, that is the issue.
Not unlike the RH situation actually. The proof has atomic steps that are all understandable by a human. It is the volume that is the issue.
Yep. N x 1000’s of lines of generated code (daily!) is impossible to review beyond a cursory level of understanding. Add in LLMisms like overly verbose documentation, comments that don’t read like normal English, etc. and you have a real problem.
I believe OP is not arguing that, but rather the new generation of engineers who may relay all of the work to LLMs or systems gaining such scale and complexity that make entry barrier too steep.
> In the code written by AI, I have never seen any construct or solution which I could not understand.
You had a firm grasp of the technology before AI came along, and you can understand what it's doing because of your pre-LLM experience. No idea how this will play out in the future for next generations of engineers who never really learned this at a deep level.
In the world of programming I do not experience a situation similar to how the math wizards are currently wrestling with the proof of the Riemann Hypothesis: with the models I currently use, I haven't seen any traces of an "alien mind" whose crazy solutions have to be deciphered or made sense of by man.
For us the worst case feels similar to that situation when someone is dropped into the middle of a sprawling codebase and is expected to understand some part of it / make a change in it without having any grasp of the whole. Difficult? Yes. But this has been bread & butter for maintenance programmers.
Replies (6)
Which is how a lot of good solutions always look - obvious when you see them, but a lot of time an testing to get to them.
But on a global level, the systems created by months of prompting with many more PRs per day than ever before, slowly turn into a convoluted coupled and oftentimes near impossible to understand mess. This mess can easily be repaired if it happens in a private project without a production system and clients that rely on your software. But in the real world it often slows us down so much that we are progressing less than in pre-AI times. At least to me it’s shocking to see that only few months of turning off your brain lead to this.
Future engineers working on those projects will have no chance at all to ever understand what is happening. They can only prompt and pray.
Replies (2)
The only thing I can imagine to mitigate this is if a senior engineer who wants to prevent the degradation invents some counterbalance system - most likely also with the help of AI - which keeps "grooming" the codebase so that it has a chance to get back into a healthy shape.
I am thinking of something like an agent skill - integrated into CI - which calls out places where it sees this form of degradation. While creating/updating the skill, the engineer is forced to understand what the unwanted rot/degradation looks like. Intelligence can be gathered into the skill to identify it. Then at least the rot becomes visible and there is a metric which can be optimized.
Of course, this needs mgmt which understands the necessity of this grooming process. If such mgmt does not exist, that's truly a dire situation.
The (a?) problem is volume/quantity. Of course each statement in that code, in isolation, is understandable by a human. But by sheer volume, the thing just eventually becomes too big to be comprehended by a human. "Oh I just use an LLM to explain it to me" .. exactly, that is the issue.
Not unlike the RH situation actually. The proof has atomic steps that are all understandable by a human. It is the volume that is the issue.
Replies (1)
You had a firm grasp of the technology before AI came along, and you can understand what it's doing because of your pre-LLM experience. No idea how this will play out in the future for next generations of engineers who never really learned this at a deep level.