this post was submitted on 28 Jun 2023
6 points (100.0% liked)
Programming
8 readers
1 users here now
This magazine is dedicated to discussions on programming languages, software development, and coding. Whether you are a beginner programmer or an experienced developer, this is the place for you. Here you can share your knowledge, ask questions, and engage in discussions on topics such as coding languages, software engineering, web development, and more. From the latest trends and frameworks to tips and tricks for debugging, this category covers a wide range of topics related to programming.
founded 2 years ago
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The most success I've had with AI assisted programming was when I found myself having to work with HTML in Python for the first time, and I used ChatGPT to generate sample code for specific things I wanted to do with lxml. It was much, much faster than reading through the crappy docs to properly learn the API.
Unfortunately, I haven't been able to replicate that success with other projects. Unless it's some low hanging fruit/popular library like lxml, ChatGPT tends to hallucinate APIs that don't exist.
EDIT: also, I've tried using AI code generators that integrate into your IDE, but never found them to be that useful. Something like clangd is more consistently helpful, and actually guaranteed to be correct.