5 ms·
>LLMs are not worthless for programming. They can be worse than worthless. They can sabotage your work if you let them making you spend even more time fixing i
by Roark66 3y ago
>LLMs are not worthless for programming.
They can be worse than worthless. They can sabotage your work if you let them making you spend even more time fixing it afterwards.
For an example. I've used Gpt4 as a sort of Google on steroids with prompts like "do subnets in gcloud span azs" and ", "in gcloud secret manager can you access secrets across regions". I very quickly learned to ask "is it true" after every answer and to never rely on a given answer too much(verify it quickly, don't let misinformation get you too far down the wrong route). So is it useful? Yes, but can it lead you down the wrong path? It very well can. The least experience you have in the field the easier it will happen.
>You just cannot expect it to ship a full programm for you, but for generating functions with limited scope, I found it very useful
Entire functions? Wow. I found it useful for generating skeletons I then have to fill by hand or tweak. I don't think I ever got anything out of Gpt4 that is useful as is (maybe except short snippets 3 lines long).
However, I found it extremely useful in parsing emails received from people or writing nice sounding replies. For that it is really good (in English).
- gumballindie 3y ago> They can be worse than worthless. They can sabotage your work if you let them making you spend even more time fixing it afterwards. I basically gave up on llms because i was spending more time figuring out what it did wrong than actually getting value. People without programming skill are still impressed by them. But they yet have to learn or deliver anything of value even with the help of chat bots.
- simonw 3y agoI have twenty years of programming experience and LLMs give me a significant productivity boost for programming on a daily basis: https://simonwillison.net/2023/Sep/29/llms-podcast/#code-interpreter-as-a-weird-kind-of-intern https://simonwillison.net/2023/Sep/29/llms-podcast/#code-int...
- zare_st 3y agoSorry, I may have gotten something wrong by skimming over your link. Is this the "significant project" you have been assisted by LLMs? https://github.com/simonw/sqlite-history https://github.com/simonw/sqlite-history
- simonw 3y agoThat's one of about a dozen at this point - but yeah, that's the one that I used LLMs to research the initial triggers and schema design for. Here's the transcript (it pre-dates the ChatGPT share feature): https://gist.github.com/simonw/1aa4050f3f7d92b048ae414a40cddbd5 https://gist.github.com/simonw/1aa4050f3f7d92b048ae414a40cdd... I wrote more about it here: https://simonwillison.net/2023/Apr/15/sqlite-history/ https://simonwillison.net/2023/Apr/15/sqlite-history/ Here's another one I built using AppleScript: https://github.com/dogsheep/apple-notes-to-sqlite https://github.com/dogsheep/apple-notes-to-sqlite - I wrote about that here: https://til.simonwillison.net/gpt3/chatgpt-applescript https://til.simonwillison.net/gpt3/chatgpt-applescript
- gumballindie 3y agoWhile it is impressive that an ai can generate all this, the code is anything but significant. Using triggers for history is one sure way to bring a scalable system down fast and one of the first lessons a junior will learn.
- simonw 3y agoAre you sure that holds with SQLite? My benchmarks so far have shown it to add a pretty inconsequential overhead. Also: not every system has to be a scalable system. That's another lesson junior engineers (should) learn.
- gumballindie 3y agoI have met my share of folks with decades of experience that was not of quality. The most hilarious are those that open tar gz files using notepad wondering where the code is to those that work on the web but dont know what xsrf is. Experience while long if it’s of the not so great type doesnt count. Not saying this is the case. LLMs do produce impressive code. Even if they were indeed just procedural generators it would still be impressive. The code has structure and appears useful. But the issue is that you can tell it makes no sense, there is no thought process behind it. It fits in no greater picture. Even if you add more context it still has no purpose. People that find this useful are the same type that copy stackoverflow code that they dont understand. It kinda works when it does but again it doesnt fit in the bigger picture. Code isnt about spelling instructions - an…ai can do that - code is about what goes where in a way that the what changes as often as the where. It’s the bigger picture. So yes it can help and replace those that spell instructions but it will be hard to replace those that are required to deliver more.
- hutzlibu 3y ago"They can be worse than worthless." But that is the same, when you blindly follow some stackoverflow answer. And yes, I always have to tweak and I use it only rarely. But when I did, it was faster than googling and parsing the results.
- marcosdumay 3y agoNobody ever made a code editor plugin that reads random SO answers and automatically pastes them over your code. The amount of fighting I needed against MS development tools mingling my code recently is absurd. (Also, who the fuck decided that autocomplete on space and enter was a reasonable thing? Was that person high?)
- FrustratedMonky 3y ago>"I found it useful for generating skeletons I then have to fill by hand or tweak". Even this can be a big time saver, that increases productivity. Just like others have said, it isn't going to write a Pynchon novel, but it does do a great job at the other 99% of general writing that is done. Same for computers, the average programmer isn't creating some new Dijkstra Algorithm every day, they are really just cranking out connecting things together and doing the equivalent of 'generic boiler plate'.