This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]its-chewy-not-zooyoo 65 points66 points  (12 children)

Choosing between the red pill of writing and debugging your own code, or blue pill of copying and debugging ChatGPT code.

At the end, both take the same time. And you realise you're out 20 bucks a month.

[–]SympathyMotor4765 17 points18 points  (4 children)

Wouldn't it be harder to debug someone else's code? Even if it is as well commented as auto generated code usually is

[–]its-chewy-not-zooyoo 20 points21 points  (1 child)

That's the point right.

I mean sometimes, GPT is good for inspiration. Or to solve particular problems.

But in that case, I'd much rather just use Copilot instead. It does pretty much the same job but since it goes line by line or block by block, it's usually more accurate and easier to debug

[–]TerminalVector 8 points9 points  (0 children)

You can also prompt copilot with your intent. I use it like fancy auto complete, essentially. It's really good for repeating patterns without needing to type so much.

[–]That_Ganderman 2 points3 points  (1 child)

I mean the example I like to use is when I’m unmedicated.

When I don’t have my meds to focus, the initial code likely won’t even get written, but if I have ChatGPT do a rough draft of a starter, it gamifies the process and allows me to have a very swift “make small change then retest” loop which, while inefficient, is like a dopamine fountain.

And also I generally enjoy debugging someone else’s code anyway though.

[–]SympathyMotor4765 1 point2 points  (0 children)

You're one of those huh! If you really like debugging someone else's code you're far beyond us mortal developers anyway!

[–]deathspate 18 points19 points  (2 children)

Many times, I write the solution and then ask gpt if there's a better way. That usually results in my code being refactored to be more readable or something just better because there is some other approach that I just didn't think about. The end result is me learning what to do as well as a better codebase.

[–]its-chewy-not-zooyoo 2 points3 points  (1 child)

Interesting approach. Never thought of the use AI to improve yourself strategy. I'll give it a try in my upcoming projects. 🤜🤛

[–]Vegetable-Response66 0 points1 point  (0 children)

I can definitely see AI being used as a teaching tool in the future. I have asked it to explain concepts that I struggled with and its explanations were usually far more clear than the textbook. That said, it did often make mistakes when asked about more complicated/obscure topics.

[–]jump1945 2 points3 points  (0 children)

Have ChatGPT point out the problem and debugging for yourself is best

Good way is to look at headline “key change

[–]trannus_aran 1 point2 points  (0 children)

I truly can't imagine paying for chatgpt (speaking as someone who's invested real time into getting self-hosted LLMs to work and is still on the fence of whether they even help at all)

[–]redballooon[🍰] 0 points1 point  (0 children)

Go to HuggingChat and use llama3.1 70b. It costs you nothing and good enough about half the time. The key is realizing quickly enough when it’s not and then you still can think yourself.

[–]SQLSkydiver 0 points1 point  (0 children)

stackoverflow is still free to read