ChatGPT for Coding
Users share experiences on using ChatGPT for programming tasks like code generation, debugging, explanations, and getting unstuck, often comparing it favorably to Google or Stack Overflow while noting limitations and the need for verification.
Activity Over Time
Top Contributors
Keywords
Sample Comments
I engage with ChatGPT daily now on a number of topics. In general, I've been trying to search on google and talk to ChatGPT about the same topic, of course I don't put three words in I try to use natural language with ChatGPT. (I had a stint in NLP systems for 5 years around 1997, so that might bias me a bit on how I engage)What has impressed me is some stuff like "Can you summarize this for me?" and "How would you parse the datetime out of this log entry in python3:
I'm half your age and don't really find ChatGPT useful for my programming work. Maybe I'm not creative enough, but it often seems like more work to get ChatGPT to understand my problem than it is to solve the problem.
I personally find ChatGPT really helpful for getting unstuck when coding. Writing out the problem ChatGPT often provides me with code that nearly works and a framework for figuring things out which is pretty nice. I think it won’t affect you too much learning things the old way but you’ll be much more productive/less frustrated with ChatGPT helping you.I found it quite a leap at first to trust ChatGPT to understand my questions and system but it really does give reasoned answers even if
I have been using ChatGPT successfully for coding tasks for the last two months. It's often faster than a Google search because it delivers the code, can explain it, and can write a unit test.
I might be a mediocre developer but I find ChatGPT invaluable for my job. It finds potential problems in my code, suggests solutions, helps with libraries I don’t know about, helps in drafting solutions when given a high level description of the problem. It makes mistakes but I don’t expect it to be perfect. As a non native speaker, it also helps me with my English (didn’t use it for this comment).
I use ChatGPT (with this plugin https://github.com/dpayne/CodeGPT.nvim) pretty frequently. The output it produces requires a lot of massaging, but it is still faster than doing things from scratch.What experience of your contradicts that?
As long as you _know the right answer_, ChatGPT is a very useful tool90% of the time I know the code I want to write. ChatGPT just writes it for me, when I read it I can confirm it is what I would have written, or fix it if not (or more likely: tell ChatGPT to fix it)This means I don’t have to google for syntax, canonical ways of doing things, etc.If you are asking ChatGPT for facts, triple check everything it tells you. Or better still, paste the Wikipedia entry to it first, then ask f
Yes, GPT is an aid not a programmer. You should still be doing the programming while ChatGPT gives you quick solutions to problems without having to look up Stack Overflow.
Why not just... Use ChatGPT and get the work done
I use ChatGPT throughout the day. I don’t find code completion very useful, but I ask questions about esoteric areas I’m unsure of, or about some numerical technique I’m trying to recall. It unblocks me faster than anything I’ve ever used and I’ve learned more about some topics in the last six months than in the last thirty years. The fact I can ask elaborative questions and get answers that are fairly deep and nuanced is remarkable. Code it emits is often specious but fairly close to usable, mo