Hacker News new | ask | show | jobs
by mattmanser 22 days ago
No thanks.

DTOs are one of the big code smells of a code base that does little but will be full of boilerplate. As soon as you see an automapper or a folder of DTOs you know you're in for some serious pain.

On the plus side you also know you can reduce the codebase by about 75%.

1 comments

>DTOs are one of the big code smells of a code base

I actually agree but think serialization overrides are even worse, and the code smell that causes both of them is the ORM. ;-)