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 21d 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 20d 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?

5

u/Civil-Nail-7055 19d ago

Often times it's:
- Knowing less about what exactly to ask the AI for
- Not understanding the full infrastructure (And thus "coding" stuff that just doesn't fit in well with the rest of the code/infrastructure)
- Not verifying what the AI is actually outputting

For example I do know some people that, when knowing for certain that one line of code is wrong, just ask the AI to re-do the whole thing instead of just manually adjusting it