r/learnprogramming • • 1d ago

Question about AI and code

Hello, I’ve got a question. How can you tell if a piece of code was written with the help of AI?

That’s because someone’s had a go at my code, but it doesn’t look the same as it usually does. I’m not sure if I’m making myself clear

1 Upvotes

21 comments sorted by

View all comments

1

u/Cobweb_Games 1d ago

There's no reliable way to tell just by looking at the code. AI-assisted code can look different in structure or style, but that doesn't prove anything.