News for hackers. Stuff that matters.
Re:Sorbet and 100% cov makes Ruby refactoring possible by pphysch on Tuesday April 26, 2022 @12:44PM (#31169717)
Any language with metaprogramming like operator overloading so you can create an ergonomic ORM, basically.

For such a language to be reasonably productive you want to be able to overload "mystruct.myvar" to not simply grab "myvar" from memory, but smartly fetch it from a remote database, cache it, etc.

It will never be perfect (blah blah impedence mismatch) but a proper ORM is so much more productive and readable than writing crap like `Manager(mystruct).GetAttr("myvar")...` or bespoke SQL composition.

There are no comments on this comment yet.