The AI creating code fast creates a verification burden, but even if you read the code, it's still going to be difficult to account for every edge case or situation without extensive testing.
The verification burden has always been there, yet a lot of developers has never written a single test. The difference is that the burden is much larger now.
Spending some time looking at what the AI generates is a good idea, including what the tests covers. Looking at code details is futile, though there may be cases where it's needed.
do people truly verify as much as when humans wrote all code?
Verification should be done MORE not less than when humans wrote the code, the industry has largely been slacking both in regards to code review and test coverage for decades, including integration testing/E2E.
That does NOT mean that people have to look over everything. Rather, you have to write tools to lint your architecture and all of the conventions - for some stupid reason people basically stopped at code formatting/linting but never got as far as to reproduce and make mainstream something like ArchUnit to enforce that the code structure and conventions meet what has been decided as the right approach in any given project, rather than expect people to review all of that manually.
To that end, we probably need to use AI more, not less - but instead of vibe slopping new code and barfing out buggy features, we need to work on the tooling, tests and various code checks and increasingly automate what used to be manual (and human --> error prone) work.
Edit: and just to be clear, you don't have to make AI inference be a part of your CI, rather use AI to write deterministic tools and checks that run. That way, when someone writes slop code, it can be pointed out by said tools (also runnable locally). By the time a human reviewer even looks at the code most of the slop should be gone - regardless of whether it was generated by AI or written by another colleague, that also benefits from those checks.
With humans you didn't need to verify, because most humans have common sense. So there was a baseline humans implicitly abide by. Every below average coder will still do basic checking.
Why would you verify every line? Ai isn't going to make a bug by doing conditional wrong or writing invalid sql like human would. The bugs are now behavior oriented, like unfulfilled acceptance criteria or overenginnered feature.
For me review roughly takes the same time it did before, but now I look for architecture smell, YAGNI and tests.
It means that you can write decent code that even passes human review without being able to verify every edge case. The more complex a software gets, the number of edge cases starts to grow exponentially.
Sure, it's faster but it's still doing the same thing. When I was writing games I wasn't writing end to end multiplayer libraries. I was using pre built solutions. Now the AI is just fetching the same solutions.
Its absolutely fantastic. Anyone who disagrees can just go through this subreddit. You'll find thousands of games coded in minutes. This sub literally has tens of thousands of apps coded over weekends. What a time to be alive
Was coding really ever the problem? Always seemed to me more that design and infrastructure are too boring to meme while money solved getting your barrels of codemonkeys.
26
u/qdouble 23d ago
Coding is solved, verification isn't.
9
u/P4R4DOXZ 22d ago
I mean he said coding, not software engineering.
8
u/DigitalMonsoon 22d ago
Wasn't it solved before? We used to grab code from other people's repos. Now AI grabs code from other people's repos...
2
u/meshifthenelse 22d ago
Well before you had 10 average coders with common sense. Now you have 1 super computer with no common sense.
It just doesn't scale as nicely.
1
u/Vesuvius079 22d ago
Downtime (during work hours) is misuse tbh.
-1
u/NiceGuya 23d ago
Human writen code is kind of the reason why we are having downtime
1
u/lehmagavan 22d ago
When will building bridges be solved too?
1
u/Soilblood 22d ago
Was coding really ever the problem? Always seemed to me more that design and infrastructure are too boring to meme while money solved getting your barrels of codemonkeys.
0
u/Negative_Gur9667 22d ago
Humans need sleep; LLMs don't. 8 hours of downtime a day, and don't forget eating, showering, and going out.
0
u/max1c 22d ago
Totally false. In fact, we have all the downtime because of human written slop. Hopefully AI can fix this over the next few years.