Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

No, the main benefits of ORM are not to avoid to learn SQL, they are:

• syntactic sugar and language/tooling integration for very common operations;

• a centralized data access API to build upon, that you would have to create anyway with raw SQL;

• a single introspectable source of truth you can use to generate web API, models, data validation/migration and so on.

Eventually, even using an ORM, you will need to learn SQL if you go beyond the toy project.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: