| >I'm not really seeing these mythical results from others either. Ok, I'll bite. Let's take https://github.com/linsomniac/apt-cacher-ultra for example, it is a caching proxy server with some fairly tricky code around snapshotting. It is code entirely written by AI, used by me every day and also used by some others. It's probably 2+ years of expert developer time if written by hand. It's around 8 months old, and has been serving requests for my fleet of ~200 machines in that time. By the following measures, it has been "quality code": - It is more reliable than the apt-cacher-ng software it replaced.
- It allowed us to do machine reinstalls/upgrades/package installs when ubuntu.com was recently down.
- The nature of the issues that have been raised with it by others has been nothing outside of what I would expect from human generated code: unanticipated corner cases, some queries that needed to be optimized, etc... A couple years worth of effort for a few weeks of evening and spare time work is, it seems to me, pretty miraculous results. So what would it take to change your mind that AI producing results is no longer mythical? |
In essence, you've drastically oversimplified the software engineering problem and turned it into something easy. It's like you're dealing with spherical cows, and wondering what all the fuss around cows is about. (And yes, of course AI gives you impressive speedup. It does even in tougher scenarios. When did I ever dispute that.)
In the real world you have new hires joining the company who have to modify code they have no familiarity with. You have large codebases with long histories that you lack tribal sufficient historical context and knowledge for. You have programs whose behaviors and correctness are a lot harder to characterize, assess, and maintain than just a caching proxy. And you have years/decades worth of millions of lines of code and comments that were written for & by humans, not AI, spanning eras with varying coding practices. Not to mention that the stakes are higher too: mistakes can cause a lot more damage than DoS or bad caching.
You can get away with a colossal amount of corner-cutting and otherwise-poor engineering practice under your conditions while still producing great output. (This was true pre-AI too, btw.) I've personally made great programs with e.g. almost no tests whatsoever as a solo developer. The hard parts of software engineering - including examples I gave in some sibling comments - rear their heads when your cows stop being so spherical.