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

I really don't get why people feel like non-ORMs cause boilerplate. I write the same amount of code using Micro ORMS. Type safe. No SQL. Very happy.


But Micro-ORMs are ORMs. And you're right, they do remove a lot of boilerplate.


> But Micro-ORMs are ORMs.

Not in the traditional sense.

> And yes, they do remove a lot of boilerplate.

Here is all the "boiler plate" you'd need to use something like OrmLite with C#.

https://pastebin.com/XUhQVPUk

Type safety. No boiler plate. No abstractions. Errors are a result of the underlying data storage.

This is where it's at. The sweet spot.


You're agreeing with each other - the ORM reduces the need for annoying and typo-inducing boilerplate.


But I'm agreeing with you in all those points, like the sibling post said. I actually used OrmLite myself in some projects.


I see. Sorry.

high five




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

Search: