Generative AI and Programming
It is hard not to be impressed with the parlour trick that is AI in 2024, but up until now I have been sceptical about it having valuable uses, especially for programming. Up until the second half of this year, I didn't use AI in any meaningful sense.
But this has changed, largely because of a IDE called Cursor, which is basically Visual Studio Code with AI built in. From the first time that I used it, I was taken by how much quicker it makes development for me. My best estimate is that it takes me about 50% of the time that I used to need to make things, and I can do something additional things that were previously just out of reach.
The thing that impresses me most is that it clearly watches and learns from how I personally code. I know this because I have particular habits of mind as I code and it makes suggestions that are mostly what I would do next. And when I need a new trick, I ask it and it (mostly) gives me a useful suggestion.
There are frustrations and limitations, of course. While get to choose which suggestions to use, I have found that I don't really keep a close handle on all the ins and outs of the program, and I have had to start again once. But even that was not so bad because I understood the overall shape of the finished program by that point, and that's often the most mentally taxing part.
I think that it works well for someone like me, because I know what to ask for and have a pretty good idea if the suggested code will do what I want. But I have noticed that my students have much more mixed results. Some can tame the beast at this point, but most find themselves in a morass of code that they can't actually work with.
Things are changing so fast in the field of generative AI that these words might well be laughable in the weeks or months to come. But from now I am less of a cynic and happy to have the help.
08:58 pm, December 2, 2024
Copy link to this post