this post was submitted on 27 May 2025
1985 points (99.6% liked)

Programmer Humor

23855 readers
2466 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Boomkop3@reddthat.com 37 points 1 week ago (18 children)

You managed to get an ai to do 200 lines of code and it actually compiled?

[–] pennomi@lemmy.world 27 points 1 week ago* (last edited 1 week ago) (10 children)

Uh yeah, like all the time. Anyone who says otherwise really hasn’t tried recently. I know it’s a meme that AI can’t code (and still in many cases that’s true, eg. I don’t have the AI do anything with OpenCV or complex math) but it’s very routine these days for common use cases like web development.

[–] GreenMartian@lemmy.dbzer0.com 9 points 1 week ago (3 children)

They have been pretty good on popular technologies like python & web development.

I tried to do Kotlin for Android, and they kept tripping over themselves; it's hilarious and frustrating at the same time.

[–] doktormerlin@feddit.org 4 points 1 week ago (1 children)

I use ChatGPT for Go programming all the time and it rarely has problems, I think Go is more niche than Kotlin

[–] Opisek@lemmy.world 2 points 1 week ago (1 children)

I get a bit frustrated at it trying to replicate everyone else's code in my code base. Once my project became large enough, I felt it necessary to implement my own error handling instead of go's standard, which was not sufficient for me anymore. Copilot will respect that for a while, until I switch to a different file. At that point it will try to force standard go errors everywhere.

[–] doktormerlin@feddit.org 1 points 1 week ago

Yes, you can't use Copilot to generate files in your code structure way if you start from scratch. I usually start by coding a skaffold and then use Copilot to complete the rest, which works quite good most of the time. Another possibility is to create comment templates that will give instructions to Copilot. So every new Go file starts with coding structure comments and Copilot will respect that. Junior Devs might also respect that, but I am not so sure about them

load more comments (1 replies)
load more comments (7 replies)
load more comments (14 replies)