How many times have frameworks like React changed since it was created? A changing framework means the LLM may mix training from multiple versions and create errors. Whereas libraries that don’t change can produce consistent results. So use stable libraries that choose backwards compatibility at any cost, over the ones that change with the times.
Wouldn't make more sense for a machine to just write assembly directly?
Now they also have training on frameworks but those keep changing. So I think the best abstraction is plain javascript - it has the most training data and javascript written twenty years ago still works today.
I've use ChatGPT to confidently produce jq programs, and Bash, and zsh, and ffmpeg scripts, and AppleScript - all tech I've mostly avoided in the past because I hadn't climbed the learning curve far enough to be confident with them.
But, it also really highlights that it’s trained on data, and doesn’t “know”. I’ve never seen it produce a bash script/line that properly handled spaces, on its own, because most shell scripts don’t. Even ChatGpt 4.0 backed fails to “correct” the mistakes, a large portion of the time.
That's an area that's always been just past my comfort zone ("Create a shell script to solve this problem? Now I have two problems...").
But all of a sudden, I feel like a master at shell scripting! Things that have always been manual-and-slightly-annoying are now scripted away into automation world, and it feels like I have a newfound superpower :) This past week has been a workflow productivity superweek.