this post was submitted on 29 Mar 2024
477 points (95.6% liked)

Programmer Humor

31793 readers
33 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 4 months ago

It's Python what ChatGPT has helped me from almost zero prior knowledge, and I've managed to create a (probably shitty) script that works with OpenAI's API, uses classes and functions and can do things like recursively summarizing a text until it's below a specific token count, among several other things. As time went on, I required less help and I could implement more changes on my own.

I had prior (non-ChatGPT) Bash, PowerShell and BATCH knowledge.

It's true that ChatGPT has bamboozled me several times with wrong code, but unless it's something too complex, it get what I need in a few tries. For more complex stuff I have to use smaller more specific queries and in some cases I still Google things, but it's usually my last resort.

In any case, I frequenly ask ChatGPT for a detailed explanation of what does the code do, mostly because I want to clearly understand what I'm using, and it helps me learn new coding/scripting stuff.