Comment on AI-generated code contains more bugs and errors than human output
kalkulat@lemmy.world 3 weeks ago
I’d never ask a friggin machine to do coding for me, that’s MY blast.
That said, I’ve had good luck asking GPT specific questions about multiple features of Javascript, and of various browsers. It’ll often feed me a sample script using a feature it explains … a lot more helpful than many of the wordy websites like MDN.
KENNY_LOGIN_LILLIAN@lemmy.world 3 weeks ago
[deleted]nostrauxendar@lemmy.world 3 weeks ago
Jesus dude, this is what you’re doing on Christmas eve? 😂
Nikelui@lemmy.world 3 weeks ago
Don’t bother. It’s ekther a bot or a bored troll.
nostrauxendar@lemmy.world 3 weeks ago
I took a look at their comments and It’s that alias_qr_rainmaker guy again!
KENNY_LOGIN_LILLIAN@lemmy.world 3 weeks ago
christmas eve will be spent having fun with you.
add nostrauxendar
nostrauxendar@lemmy.world 3 weeks ago
I’m gonna tuck into my chocolate orange
KENNY_LOGIN_LILLIAN@lemmy.world 3 weeks ago
Humans are bad at code. AI is trained on humans. AI is bad because we are bad.
Xenny@lemmy.world 3 weeks ago
Ai is literally just copy pasting. Like if you think about AI as a control C control V machine, it makes sense. You wouldn’t trust a single fucking junior Dev that didn’t actually know what a code but just Ctrl C control V from stack overflow for literally every single line of code. That’s all fucking AI is
derpgon@programming.dev 3 weeks ago
I’ve been using it to code a microservice as PoC for semantic search. As I’ve basically never coded Python (mainly PHP, but can do many langs) I’ve had to rely on AI (Kimi K2, or agentic Claude I think 4.5 or 4, can’t remember) because I don’t know the syntax, features, best practices, and tools to use for formatting, static analysis, and type checks.
Mind you, I’ve basically never coded in Python besides some shit in uni, which was 5-10 years ago. AI was a big help - albeit it didn’t spit out fully working code, I have enough knowledge in this field to fix the issues. As I learn mainly by practice and not theory, AI is great because - same as many YouTubers and free tutorials - it spits out unoptimized and broken code.
I am usually not using it for my main line of work (PHP) besides some boiler plate (take this class, make a test, make it look the same as this other test = 300 lines I don’t have to write myself).