AI Code Generation
Discussions evaluate the capabilities of LLMs like ChatGPT, Claude, and GPT-4 for generating, debugging, and understanding code, including prompting techniques, tools, and limitations.
Activity Over Time
Top Contributors
Keywords
Sample Comments
ChatGPT is useful only if you understand the code that it produces
Have you tried Claude Opus 4.5 within Claude Code?it's only been released for two months but its changed the calculus entirelyif its been over two months since you've tried any LLM generated code solution, or are still occasionally copy pasting code requirements into a browser chat session as if its still 2023, then I can't put any weight into the opinion
Have you tried gpt-4? It's not perfect but it is a clear improvement for code.
ChatGPT can already do that. You can ask questions about the code, make suggestions and it will take this into account and write improved code. You can tell it the code it wrote produces an error, and it will then find the error, explain what it did wrong and fix it.
Use some LLM which is good at understanding code/coding, maybe supervised by one which is good at reasoning.
I must be living in a different universe, every single LLM I've tried are shit at the details/nuances of writing code.
How to make ChatGPT write code the way you want (code structure, libraries etc)
What if ChatGPT doesn’t want to generate code for the day due to an existential crisis ?
ChatGPT doesn't imagine running code, it actually runs the code, you can see the code it write and some of the output of what it runs, you can see it in the interface screenshoted in the article.
What kind of prompts are you using? You'd be surprised how much better your output is using prompting techniques tailored for your goal. There are research papers that show different techniques (e.g one shot, role playing, think step by step etc) can yield more effective results. From my own anecdotal experience coding with ChatGPT+ for the past year, I find this to be true.