Anderycks.Net by Deryck Hodge logo

The kinds of things you find when you look deeply at AI generated code

For the software engineers visiting here, I give you:

I audited 6 months of PRs after my team went all-in on AI code generation. The code got worse in ways none of us predicted.

The big stuff wasnt what I expected. I thought I'd find wrong logic or security holes. Instead what I found was this layer of... I dont even know what to call it. Plausible-looking code that technically works but is structured in ways no human would choose. A try-catch around a console.log. A utility function that was 40 lines of enterprise-grade typescript doing exactly what Array.prototype.map already does. Variable names that sound right but dont match what the variable actually holds, like a thing called userPreferences that was actually a session token.