Comment by submain
ORMs are one of those things that make sense for really tiny projects but fail to scale once complexity settles in.
ORMs are one of those things that make sense for really tiny projects but fail to scale once complexity settles in.
Exact opposite experience.
“SQL strings are one of those things that make sense for really tiny projects but fail to scale once complexity settles in“
Large projects require reuse, composability and easy refactoring. All things ORMs excel at.
On a small code base it is easy to rename a column or add a column, etc.
On a large code base with already 100s of queries using that table, without an ORM it isn’t as straightforward to update all references and ensure that ever place consuming that table has the new column info.