DEV Community

Discussion on: Oh look, it's another ORM good/bad thread

Collapse
 
akashkava profile image
Akash Kava

ORM is not bad, in fact no framework or technology is bad in anyway, the only thing bad is trying to do everything in ORM is bad. Large application has many components written in different technologies and all components communicates efficiently to make one large system.

ORM can be unit tested, trying to unit test RDBMS is pain. You can compose queries in ORM easily, composing and debugging queries in SQL is painful, its not impossible.

First iteration of logic is easy to write in ORM, and then once it is mature, it is easy to translate to SQL. Entity Framework Core generates pretty readable queries, same can be moved to SQL easily.