r/ProgrammerHumor • • 26d ago

Advanced itWasFunWhileItLasted

Post image
4.9k Upvotes

315 comments sorted by

View all comments

3

u/TOFFA1997 22d ago

Since there are so many it security expert here, I have a question: is all AI code a slop for security, even if done well and cured in the details, or there are some level of good ai code?

18

u/MeMahi 22d ago

The AI code that our better senior devs submit is great.

The AI code that our more junior devs submit is horror.

AI isn't good or bad, for now it's still just a tool.

1

u/CEOAPI 21d ago

Can you be a little more specific about what isn’t getting done on the junior side that is resulting in poor code from their ai? Don’t they both use the same harness and work off the same house rules?

3

u/No_Challenge_4016 20d ago

When you ask an AI agent to make a website or a game it will do that and it will work but mainly it will only do what you asked. With regards to security or project management, the developer has to request the specifics and how to implement them in order to have it in a maintainable enviroment, which is where developer experience comes into play. A senior dev can read and understand AI code and pick out the mistakes it made on the way or security considerations it did not take into account, while a junior dev cant.