News for hackers. Stuff that matters.
Re:What ORMs have taught me: just learn SQL (2014) by sjwright on Saturday September 21, 2019 @08:11PM (#21038759)
That’s just a semantic game. If your language returns the result of a query as a generic array of generic dictionaries (or whatever), that isn’t mapping, nor is it object oriented in principle.
Re:What ORMs have taught me: just learn SQL (2014) by goatlover on Saturday September 21, 2019 @11:45PM (#21039540)
But then your generic array of generic dictionaries needs to be mapped to whatever data structures make sense for your application. ORMs save you that step.
Re:What ORMs have taught me: just learn SQL (2014) by sjwright on Sunday September 22, 2019 @12:15PM (#21042094)
I've written many apps and I've never experienced what you've described. I write my queries to return exactly the right data in exactly the right format in exactly the right order—so I can go straight from the generic data structures to the screen interface or document layout.

Nothing says the structure which make sense for an application can't be a generic array of generic dictionaries.

If your favourite programming language forces you to go through the silly hoops of data mapping in order to do useful things with query output, I can understand why an ORM might make sense for you.