this post was submitted on 07 Oct 2023
125 points (96.3% liked)

Science

13013 readers
56 users here now

Subscribe to see new publications and popular science coverage of current research on your homepage


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

You have to tell ChatGPT that you want good code, then.

I'm actually serious. If you just ask for something generic, it'll assume you want something generic. If you ask it for something that's "high efficiency, well commented and maintainable" then it's going to know you wanted that and give you something more along those lines. Just like if you asked it for something "that looks crappy and sloppy, like an amateur wrote it."

Very often when people complain about ChatGPT's "style" or say they can immediately spot something that "sounds like" ChatGPT it's because they're not giving it good directions. It can't read your mind. Yet.

[–] [email protected] 0 points 11 months ago (1 children)

@FaceDeer @floofloof @henfredemars @PoisonedPrisonPanda @sab @Vilian nope. I ask for highly precise stuff. When I say, “I’m no coder,” it’s coz I use interpreters and don’t compile “real” code, plus it only accounts for 10% of my day job. ChatGPT maybe useful for Hello World, Towers of Babel or other stuff it scraped from udemy, but when you ask it to assist in automating complex production systems, it really falls down.

[–] [email protected] 1 points 11 months ago (1 children)

Maybe ChatGPT just hates you personally, then.

You're saying "it can't work for anyone because it doesn't work for me!" And I'm saying "well, it worked for me, so maybe you're using it wrong."

You can't insist it's not working for me because it did. I'm not disputing that it didn't work for you, all I can suggest is reading up a bit on prompt engineering to see if you can find out what you're doing differently.

[–] [email protected] 0 points 11 months ago (1 children)

@FaceDeer @floofloof @henfredemars @PoisonedPrisonPanda @sab @Vilian I’m not saying it didn’t work for you. I’m saying it’s only good for entry level stuff… It’s not coming for my job yet, but I can seriously see it stealing work from the overseas, underpaid, code shops in China/India.

[–] [email protected] 1 points 11 months ago

I am not an "entry level" coder.

I also am not concerned with it "coming for my job." It's a collaborator with humans, not a replacement for them.