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.

📉 Falling 0.2x AI & Machine Learning
5,363
Comments
9
Years Active
5
Top Authors
#7994
Topic ID

Activity Over Time

2016
1
2019
1
2020
13
2021
7
2022
304
2023
3,176
2024
1,082
2025
726
2026
53

Keywords

S3 AWS MERGE AI SQL CodeGPT.nvim GPT4 GPS VS CS chatgpt code gpt paste useful google copy paste answers write coding

Sample Comments

kator Jan 7, 2023 View on HN

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:

digging Mar 31, 2023 View on HN

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.

andy_ppp Jun 29, 2023 View on HN

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

rockinghigh Feb 13, 2023 View on HN

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.

pb060 Sep 6, 2023 View on HN

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).

zamalek Mar 19, 2023 View on HN

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?

interpol_p Feb 7, 2024 View on HN

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

wesleywt Aug 28, 2023 View on HN

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.

kfrzcode Mar 26, 2023 View on HN

Why not just... Use ChatGPT and get the work done

fnordpiglet May 17, 2023 View on HN

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