2 ms·
This is all nice and good but I've never once seen someone correctly clarify their thoughts ahead of time that doesn't end up being the wrong model as the code
by Spivak 2y ago
This is all nice and good but I've never once seen someone correctly clarify their thoughts ahead of time that doesn't end up being the wrong model as the code evolves.
The only schemas that survive long term are the ones that create such a tangled ball of foreign keys that migrations are infeasible. Great advice for anyone looking to leave a legacy.
- codr7 2y agoAt least they exist, and force you to refactor the code to match reality. Document databases tend to take on a life of their own; and since they encourage shortcuts, the slope is typically down.