this post was submitted on 02 Jul 2023
6 points (100.0% liked)

For all your programming needs

26 readers
1 users here now

A community to discuss programming and or related topics

founded 5 years ago
MODERATORS
 

I’ve tried using ChatGPT for some basic coding syntax/logic, and I’ve had mixed results. Usually not so great.

Wondering if it had access to the whole code base and could better understand the context of the code if it would be better.

What’s your experience been like?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 2 years ago* (last edited 2 years ago)

It worked reasonably well for me when I was doing very explicit tdd. Write test function name, get some code to fail, get copilot to add the fix where I expected the fix to be.

Main benefit feels like a long code snippet, but the content isn't good for anything slightly creative.

Particularly, I don't think it's helpful for beginners. It's a complicated tool, and if you don't already know what you are doing, in order to identify and fix its mistakes immediately, it is going to create more problems than solutions.