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

This is why I use no ORMs and use mysql like a man.


I do think that ORMs are a bad abstraction. SQL is a good abstraction. Devs love it when they can be lazy and have something slightly convenient without thinking about it’s downsides


That’s rarely a good use of time. Complex queries might require some kind of DSL (hopefully closer to Spark than raw SQL) but we should automate data validation and row marshaling for the same reasons we automate register allocation, stack frames, and garbage collection.


The stereotypical comment from the dev who doesn’t understand how an ORM is a tool and not a crutch.




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

Search: