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

I agree with this sentiment, been working against ORMs just as long.

ORMs universally suck in all languages, all projects I've worked on (java, c#, python).

You lose productivity, lose performance, lose visibility of what you're application code is actually doing vs. what it should.

I eventually learned how every ORM was implemented differently, spit out different queries even for the simplest select queries and to tweak them is a wild trip around ORM's limitations reading decompiled ORM code. As an aside, java ORMs present the distinct displeasure of poorly thought out, incompatible opaque annotations.

You gain ORM knowledge that does not apply across different ORMs and also subverted SQL knowledge and insights that are immensely useful as a developer.

When my queries are simple, I don't see any reason to use it.

When my queries are complex, I see strong reasons to not use it.

I actively work to remove or not use ORMs in any project I've worked with. The hardest person on the team to convince is usually the newbie or the manager/lead who never has written a single SQL query.



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

Search: