this post was submitted on 26 Mar 2024
809 points (98.6% liked)

Comic Strips

12619 readers
3784 users here now

Comic Strips is a community for those who love comic stories.

The rules are simple:

Web of links

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 44 points 7 months ago* (last edited 7 months ago) (9 children)

I actually asked chatGPT about a specific issue I had and solved a while back. It was one of these issues where it looked like a simple naive solution would be sufficient, but due to different conditions that fails, you have to go with a more complex solution. So, I asked about this to see what it would answer. And it went with the simpler solution, but with some adjustments. The code also didn't compile. But it looked interesting enough, for me to question my self. Maybe it was just me that failed the simpler solution, so I actually tried to fix the compile errors to see if I could get it working. But the more I tried to fix its code the more obvious it got that it didn't have a clue about what it was doing. However, due to the confidence and ability to make things look plausible, it sent me on a wild goose chase. And this is why I am not using LLM for programming. They are basically overconfident junior devs, that likes mansplaining.

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

It's not always right but it saves me tonnes of time at work, usually when I want to do something simple in a language or environment I'm not totally familiar with.

[–] [email protected] 6 points 7 months ago (5 children)

It can reliably copy the simple things in it's training data from stackoverflow.

But at that point, why not just go to stackoverflow instead?

[–] [email protected] 2 points 7 months ago

Gpt4 is pretty awesome for simple stuff. I've just started learning python (Knowing no other language) and made my first project a pyqt GUI for editing the config of a FOSS project. It's reasoning ability is not great, but when you clearly lay out what you want to do, how you want to do it, it because a fantastic natural language to code interpreter. All the fiddly bits I dread typing out I just pop into gpt 3.5, and more complicated stuff gpt4.

I have learned a lot from debugging whenever it gets stuck, and being able to create an actual usable program right from the start is awesome.

Even better is slowly realizing you are understanding what's going on, and the dread of actually studying to learn the language becomes a genuine desire to learn more.

load more comments (4 replies)
load more comments (5 replies)
load more comments (6 replies)