r/ProgrammerHumor • • 20h ago

Meme dualityOfDevs

Post image
5.4k Upvotes

298 comments sorted by

View all comments

Show parent comment

4

u/m4d40 19h ago

There is big difference between using AI on private/fun projects and using it in a production environment. I already love using AI for private/fun stuff, but would never use it in production, because in production you NEED to know 100% of what the code does and that is almost impossible with AI and middle/bigger projects.

I mean I know kids these days do not take responsibility or don't even know what the word means, but in the real world you are responsible for the code you put in the production environment! Same goes to the one reviewing it.

2

u/dev_vvvvv 18h ago

I find the distinction is more about what I care about.

If it's some garbage MVP that I'm never going to use in production but gets the point across? Or some short script I'll use once or twice to accomplish a specific task? Then yeah, I'll use AI the same way I would go to SO.

But if it's something that actually matters, then I'm very wary of using it as a primary tool.

4

u/ouyawei 16h ago

Do you seriously think you can write better code than AI?

Maybe a year ago, but these days AI will come up with better solutions and think of corner cases that most humans will miss.

2

u/Jayant0013 16h ago

I mean certainly with less repeation, I was making a smiple 2d game in gloss and llm was making a difference function for each key press ,I had to ask it to go for a different solution

For anyone reading that original solution was pretty herendious

I am not against llm or anything, I use them all the time

1

u/Additional-Swim2681 18h ago

Also, Claude can use your codebase to create competition in your market.if it knows your business model, customers and the market it can be really good competition. Like figma vs canva

0

u/RatBot9000 17h ago

Can we really call the GTAVI stuff private or fun though? Not to be The Copyright Defender but people couldn't be doing this if they didn't have the game's exe to work with and they aren't supposed to have access to that.

They're also all being very public with it. It's a race for prestige, they aren't doing it because it's fun, they want to be the first to do it for the glory.

-5

u/Kukipapa 19h ago
  1. You cannot separate the two.
  2. There are models which can work on bigger projects (we use on GB-scaled source) with very high correct output (it can validate and fix its generated code). You may want to catch-up.

4

u/m4d40 19h ago

"With very high correct output", that's not how it works, that's not how any of this works.

If you are working on a production environment with real customers and data, your code needs to be 100% correct. Or at least 4 eye review perfect. You can not just say to a customer "oh sorry for making all your internal data public" or "sorry for deleting your important data", the AI was 95% sure nothing bad will happen. Whoever pushed the code and whoever reviewed it is 100% responsible for that code. And don't get me wrong, I am not against using AI as tool. We are talking about how AI is used and reviewed.

1

u/boneskull 16h ago

wait—you guys don’t write bugs?

1

u/the_electric_bicycle 9h ago

This sounds like fantasy development to me. The idea that the code that is shipped in professional environments is always 100% correct is so disconnected from reality I’m forced to believe you’re LARPing and have absolutely no experience in those environments.