3 ms·
Yes, this is the way. But I'm fine with short-term cheating when there's no other way because it sticks out a lot more: "wtf, why is the registration endpoint
by mattgreenrocks 2y ago
Yes, this is the way. But I'm fine with short-term cheating when there's no other way because it sticks out a lot more:
"wtf, why is the registration endpoint executing hand-written SQL but no other endpoint is?"
The fact that it ends up looking conceptually ugly compared to everything else means it is harder to ignore, and people have to justify their sloppiness when getting it merged.
> But making sure that I stick to the rules for each layer can be a pain. I stick to them, anyway.
It can be. I've found you usually internalize the rules eventually and your mind naturally slots things where they need to go. Then you can aggressively add features/refactor because the surface area is much smaller.
It's like learning to work with strong type systems versus fighting them.