4 ms·
Are they worse? The popularity of them has exploded like programming languages from the 80's to now. One might say that if SQL was so great there would be no
by ta2234234242 3y ago
Are they worse? The popularity of them has exploded like programming languages from the 80's to now.
One might say that if SQL was so great there would be no ORMs -- because there would be no need.
The ORMs, if anything, are a symptom of the larger problem that is SQL.
- lcnPylGDnU4H9OF 3y ago> One might say that if SQL was so great there would be no ORMs It's not like the ORMs exist without SQL. Their primary purpose is to provide a consistent interface between different flavors of SQL so the application developer doesn't need to care what database they're using. For example, delimiting object names in Mysql uses ` and in Postgres uses ". The ORM will ostensibly have different adapters which take care of these differences without changing the application code.
- eddd-ddde 3y agoNot even that works painlessly. You commonly run into incompatibilities so an ORM won't necessarily make your code database agnostic.
- lcnPylGDnU4H9OF 3y agoIt lessens the pain, still. It's rare that you'd use common ORM methods and run into something that's supported for one RDBMS and not another. Doing stuff that's less common and, of course, writing raw SQL will still be pain points but they'll be fewer than if one was doing everything in raw SQL.
- ta2234234242 3y ago> It's not like the ORMs exist without SQL. That's because TINA: There is No Alternative.