by kentonv · 6y ago · 0 comments
For a document database, I don't agree at all. Some time back I spent more time than I'd like developing on Mongo, and boy did I wish I could actually tell it the schema of documents in each collection and have it enforce that (not to mention optimize based on it). A lot of developers actually use libraries on top of Mongo to define and enforce schemas.
I think protocols still don't have the level of tooling that makes it really obvious why schemas are better.