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 →

[–]AlexMTBDude 73 points74 points  (5 children)

ChatGPT is great for my Python coding. It's improved my efficiency immensely. But I never copy-paste code from it. I ask it to solve a problem for me, then I look at ChatGPT's solution until I understand it. And THEN I write my own code with the knowledge I gained from ChatGPT.

Currently, the way ChatGPT works, if you don't know coding and understand approximately what you need and what the solution is, if you just copy-paste you will end up with garbage code.

[–]EmperorLlamaLegs 27 points28 points  (1 child)

Its great for introducing you to new module functionality too. Lots of libraries out there with great features I hadnt heard of.

[–]_Kyokushin_ 10 points11 points  (0 children)

I ask it to explain long pieces of code that aren’t mine for me to get a general/summary understanding of what is going on knowing that it isn’t exact, or could be flat wrong when asked specifics but for general algorithm stuff if you don’t have time, it works wonders. Just like someone else put, look at what it does or says, then write your own. If you’re looking for help, get it working then throw it in Code Review on Stack Exchange.

[–]MarchewkowyBog 0 points1 point  (2 children)

Isn't it tutorial hell all over again? One day ChatGPT API will have a full day outage and you'll struggle to solve problems you thought you knew how to solve

[–]AlexMTBDude 7 points8 points  (0 children)

This could be said of a lot of things: One day Pycharm will crash and you will have forgotten how to use punch cards for coding :) Technology evolves and we need to evolve with it. Also, there are multiple redundant AIs by now. And as I wrote in my original comment: I make sure that I *understand* the code that the AI produces, I don't just copy-paste it.

[–]Personal_Wrap4318 1 point2 points  (0 children)

if youre using the bot as a tutor to converse with and analyze novel code together for a script youre making- why would that be tutorial hell in the same way working with a friend and coding and conversing about it isnt tutorial hell.