997

Cross posted from: https://lemm.ee/post/35627632

you are viewing a single comment's thread
view the rest of the comments
[-] crossmr@kbin.run 33 points 2 months ago

Gen AI is best used with languages that you don't use that much. I might need a python script once a year or once every 6 months. Yeah I learned it ages ago, but don't have much need to keep up on it. Still remember all the concepts so I can take the time to describe to the AI what I need step by step and verify each iteration. This way if it does make a mistake at some point that it can't get itself out of, you've at least got a script complete to that point.

[-] Auzy@beehaw.org 6 points 2 months ago

I actually disagree. I feel it's best to use for languages you're good with, because it tends to introduce very subtle bugs which can be very difficult to debug, and code which looks accurate about isn't. If you're not totally familiar with the language, it can be even harder

[-] crossmr@kbin.run 2 points 2 months ago

I test all scripts as I generate them. I also generate them function by function and test. If I'm not getting the expected output it's easy to catch that. I'm not doing super complicated stuff, but for the few I've had to do, it's worked very well. Just because I don't remember perfect syntax because I use it a couple of times a year doesn't mean I won't catch bugs.

load more comments (1 replies)
this post was submitted on 27 Jun 2024
997 points (98.2% liked)

Programmer Humor

19190 readers
1043 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS