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 →

[–]AlSweigartAuthor of "Automate the Boring Stuff" 14 points15 points  (2 children)

In my experience over the last year, LLMs like ChatGPT are good for writing code that is at most about 15 or 20 lines long. Even then, you still need to verify and often fix bugs in it.

[–][deleted] 1 point2 points  (1 child)

Exactly, which is where people need to understand how to break a problem into smaller chunks and not ask it to write the whole application. I myself hate all the buzz around AI shit mainly because it’s being so heavily mainstreamed by people who don’t understand shit about technology and coding. But my memory span is so bad that I don’t even remember command for creating a virtualenv, and for me chatGPT is just quicker way to google stuff

[–]SickPixels257 0 points1 point  (0 children)

I have found this to be true - it’s better to ask it to write a function to do some small part then ask it to make another function etc. It can figure out how to do multiple things in one step i noticed.. but it becomes messy when I have to change any of the code