DEV Community

Discussion on: Database constraints are (often) harmful

Collapse
 
jonlauridsen profile image
Jon Lauridsen • Edited

Hi Bradley,

Thank you for your insights, and I think I recognize your angle. Your examples do highlight the benefits of using a database's powerful tools, but I also feel they implicitly tell a story where the code is not doing its job. If an empowered team owns its solution maybe there isn't a database administrator at all. Maybe a great domain needs to be modeled, which can encapsulate that complexity.

I'm reminded of this scene from the movie Contact, where sometimes letting go of the seatbelt results in a smoother ride. It can seem scary, and of course I don't know your context so ultimately only you get to decide what's the best way forward. I'm happy to simply delight in the wonderful differences there are between our contexts, but if it matters then I do think there's more to what you describe between the lines that's worth exploring deeper.

But I enjoyed reading your angle because it does illuminate different contexts we all find ourselves in. And thanks for reading the article.