3 ms·
That's actually a myth. One thing is Object Mapping, which is repetitive, but whenever there is a layer of indirection to "hide SQL from the developer", then th
by dullgiulio 9y ago
That's actually a myth. One thing is Object Mapping, which is repetitive, but whenever there is a layer of indirection to "hide SQL from the developer", then there will be developer pain and waste of developer time.
SQL is just a language and needs to be learned. It's not hard and being declarative it also teaches to think differently than imperative programming.
Want to query in Javascript? Sure go ahead, but don't say SQL is harder.
- threeseed 9y ago> SQL is just a language and needs to be learned Assembler is just a language and needs to be learned. Oh wait. Nothing needs to be learned and there are always cases for higher up abstractions. Especially SQL which can get extremely complex if it needs to.
- MrFurious 9y agoDo you compare assembler with SQL?
- zaarn 9y agoI think a good ORM is one that isn#t just "hide SQL from the devs" and rather "hide trivial SQL from the devs and let them get dirty if they want to". Some ORMs I've worked with allowed me to completely bypass the ORM system while still getting most of the benefits. I do recall a ORM that I've use a long while ago that didn't support reading Views as objects but it could be trivially added simply by writing a custom query method which was unpacked like any other query into the object and that worked for Views then.