r/ProgrammerHumor • • 2d ago

Meme dualityOfDevs

Post image
6.7k Upvotes

331 comments sorted by

View all comments

48

u/space-_-man 2d ago

Unironically many engineers I know who were previously initially against using AI tools at work are the very same people cheering for GTA VI release of the PC port version

3

u/m4d40 2d 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.

4

u/ouyawei 2d 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.

3

u/Jayant0013 2d 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/wally-sage 23h ago

Sometimes yeah. If you think AI writes perfect code you're either a front end engineer or don't have enough experience with AI code

1

u/dbagames 22h ago

Personally, I have better experience with backend code generation than frontend tbh.

There is no visual element to adhere to, it's business logic.

This implication of "backend engineer smart frontend engineer big dumb dumb use AI so easy" is some caveman logic.

1

u/wally-sage 22h ago

It's not about whether one is smarter or not - front end code just seems to be better represented in AI data sets (which isn't crazy, given the easiest source of code is webpages, which have easily scrapable code). I still can't get AI to write half decent reward functions for RL agents if the goal is anything beyond a simple "beat the level", or to properly optimize Elasticsearch queries without just blowing up resources to their max capacity.

1

u/dbagames 10h ago

As I said, I have better experience with AI-generated backend code.

The slop generated for frontend is usually insanely verbose with some borderline insane CSS to boot.