3 ms·
Idiots writing tons of code with AI will create employment for armies of people who actually know how to debug it into working. Remember Knuth's witticism abou
by kazinator 2y ago
Idiots writing tons of code with AI will create employment for armies of people who actually know how to debug it into working.
Remember Knuth's witticism about debugging being twice as hard as writing? So if you're as clever as you can be when writing a program then you might not be smart enough to debug it?
Now suppose you're as clever as you can be, plus armed with AI ...
- falcor84 2y agoI would actually bet that AI will prove to be particularly good at classical debugging - i.e. the effort of changing the code to make a given failing test pass while keeping all the other tests green too. This is pretty much what SWE-Bench is judging, and the progress there has been phenomenal. We will still probably need humans to do validation (vs. verification), but I don't think it'll take "armies of people".
- kazinator 2y agoClassical debugging is looking at a dump of memory in search for the bit that is flipped wrong. :)
- bsaul 2y agonever had to do that in 25 years of software dev
- fragmede 2y ago24 years would only put you back to 1999, and by that time GUIs had largely taken over, with Win 95 having been released and the pentium was just hitting its stride. There's still a need to pour over memory dumps if you're doing reverse engineering or early stage hardware engineering. What killed it really though was the Internet and the cloud. The expertise to debug a system and get to know it intimately well just isn't as necessary these days. just fire up an ASG and cycle the instances before the problem happens. Software that's running on your servers instead of on customer computers means you can debug those systems and don't have to rely on customer reports.
- bsaul 2y agonever had to analyse a memory dump. I tried to, sometimes, just for fun, but nothing good came of it. Crash dumps are symbolicated, so you never go at the bit level.
- svat 2y agoIt was Brian Kernighan and P. J. Plauger (The Elements of Programming Style (1974, 2nd edition 1978), chapter 2, page 10): > Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it?
- more_corn 2y agoThis is why you should never be clever when writing code.
- lazide 2y agoOr organizations stuck with that code will be locked into impenetrable tech debt, while newer companies who didn’t do this idiocy murder then. Or, probably, those larger companies force regulatory lock-in, and everyone is miserable.
- dambi0 2y agoWhy are they idiots?
- marssaxman 2y agoI can't help but recall a certain former coworker who apparently believed that he was getting paid by the word, the most committed user of autocomplete and IDE code-generation features I've ever seen, and imagine what he must be doing now with the help of AI. At the time, I felt like simply following him around and tidying up his sprawling, repetitive, bug-ridden verbiage could have been someone's full-time job; with his output accelerated by AI, I imagine he could keep a whole team busy.
- namaria 2y ago"Code expands to fill the maintenance capacity of the available team". There, Parkinson's law updated.