Architecture by Autocomplete
There’s a specific code smell that shows up in AI-generated code, and once you see it you can’t un-see it: primitive obsession all the way down to the domain core. string for emails. string for IDs. Map whenever the situation gets hairy. Working code, passing tests, ships fine. And yet a developer who’d actually thought about the domain would not have written a single one of those types that way.
评论
?
参与讨论