3 ms·
> just by telling it that there's a problem how will you identify that there's a problem?
by throwawaymaths 4y ago
> just by telling it that there's a problem
how will you identify that there's a problem?
- blibble 4y agoespecially as a new developer that now thinks they will never have to write any code
- sosodev 4y agoWell in a lot of cases the model is writing code that can't even be run (the red dots). Feeding it the compilation error can be done automatically and it will usually be able to at least get it running.
- vba616 4y agoThe last time I asked ChatGPT to write a function that I needed, it was syntactically correct right off the bat. I thought that even if it had logical errors, it would be easier to fix them one by one. It seemed like a plausible approach to take when dealing with writer's block. However, after spending about 20 minutes fixing the details, I realized that the core logic was missing. I had only wasted precious time that I could have spent figuring it out myself. [This comment brought to you by ChatGPT - I asked it to write a second draft of my original comment]
- nomel 4y agoTo answer your question from a practical perspective, you can try to run it, and feed back errors. See: https://news.ycombinator.com/item?id=35446171 https://news.ycombinator.com/item?id=35446171 But that's actually not what I meant. You can often just tell it "there's a problem, please fix it", or "do you see any problems" and it will be able to identify it without additional input. There no requirement that you've identified a problem, it's more of a "double check that" type of prompt.
- deleted 4y ago[deleted]