Re:Dynamic type systems are not inherently more open
by thu2111 on Monday January 20, 2020 @08:24AM
(#22098599)
Hence ORMs. It's possible to do much better than ORMs though. The object/relational type system mismatch is a property of how technology evolved, it's not fundamental.
Many interfaces have declared, enforced static types. I don't have to write any code to handle
returning "fish" because the database would never let it happen.