by ttfkam · 3y ago · 0 comments
Folks go on about how they're "stuck" with a single dialect of SQL but completely ignore how utterly impossible it is to switch ORMs without a full app rewrite. And ORMs are all language-specific, so if you have two different app clients in different languages, you can't always share even basic API access patterns.
Got a Java Spring app alongside a Django app? Good luck!
Inject me an object that gets people objects that meet an interface (ok might need to be async) and you can switch out how that is done later.
But it is more boilerplate