Re:Show HN: Welcome, Cot: the Rust web framework for lazy de...
by Eikon on Tuesday February 18, 2025 @09:27AM
(#43089838)
It’s not fine because ORMs never make sense as an abstraction layer. They try to map concepts that are inherently incompatible. Relational databases are designed around set theory and strict schema constraints, while object-oriented programming relies on hierarchical structures and mutable state.
[ Parent
| on HN ]
Re:Show HN: Welcome, Cot: the Rust web framework for lazy de...
by iterateoften on Tuesday February 18, 2025 @09:58AM
(#43090236)
Well just because it uses the word object doesn’t mean it is strictly for object oriented programming.
Haskell and Elixir, etc all have ORMs (or rather ecto calls itself a data mapper but functionally it is 1:1 analogous to an ORM in any other language)