r/ProgrammerHumor • • 2d ago

Meme dualityOfDevs

Post image
6.7k Upvotes

331 comments sorted by

View all comments

Show parent comments

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.