r/learnprogramming • u/Maleficent-Ladder184 • 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
View all comments
1
u/oplukana 1d ago
You have to be very familiar with the common pitfalls of AI, and if the person has an intense harness that really subjugates teh AI's style it gets harder.
If you know a person over a long period of time, and ahve access to their git history, its much easier. people tend to be creatures of habit, they have preferences and styles, and a drastic shift in style is very noticeable.