News for hackers. Stuff that matters.
Re:What ORMs have taught me: just learn SQL (2014) by lugg on Friday September 20, 2019 @09:19PM (#21032847)
Why not?

I've used hand rolled pseudo ORMs before.

I prefer just plain SQL but for the application I had there was a common access pattern that was worth abstracting out in a DRY sense.

That doesn't mean I want or need a complete ORM. Just a consistent access at certain table types.

Re:What ORMs have taught me: just learn SQL (2014) by scarface74 on Friday September 20, 2019 @10:17PM (#21033080)
I’ve never seen a homegrown ORM that was better than a third party one. Whenever there is an issue - and there are always issues - you have to dig into the code, because they are never documented well.

There is usually a feature that no one thought about and then you have to make modifications to the custom ORM and you get an even bigger mess.

Re:What ORMs have taught me: just learn SQL (2014) by lugg on Saturday September 21, 2019 @05:39PM (#21038072)
Better is a subjective term.

I wouldn't say what I built was a better ORM. But I would 100% say it's a better solution to the problem I faced.

It didn't get in the way of writing SQL, but it did reduce the boilerplate and repetitive gruntwork.

"Issues" - no, it was a function call deep and incredibly clear and close to what was happening.

Re:What ORMs have taught me: just learn SQL (2014) by LeonB on Friday September 20, 2019 @11:03PM (#21033216)
sort of agree but also: the good third party ORMs started life as homegrown ORMs.
Re:What ORMs have taught me: just learn SQL (2014) by collyw on Saturday September 21, 2019 @08:08AM (#21034827)
Usually third party stuff has documentation. Home grown stuff often hasn't. And usually better tested.
Re:What ORMs have taught me: just learn SQL (2014) by scarface74 on Saturday September 21, 2019 @01:51AM (#21033739)
Entity Framework didn’t.....
Re:What ORMs have taught me: just learn SQL (2014) by notyourday on Friday September 20, 2019 @10:14PM (#21033067)
You just said "you know, if you wanted to have a shitty burger, you can get it right there for half the price of a national chain and it will be at least as good"
Re:What ORMs have taught me: just learn SQL (2014) by mbell on Friday September 20, 2019 @10:58PM (#21033201)
> I've used hand rolled pseudo ORMs before.

Is your pseudo ORM as well documented as a commonly used ORM? Can I google (or search your wiki) for common issues?