News for hackers. Stuff that matters.
Re:Simplify Your Code: Functional Core, Imperative Shell by Izkata on Tuesday October 28, 2025 @01:05PM (#45735585)
Kinda hints most people haven't used a good ORM, or if they have maybe just don't understand how it really works. Django looks similar to this and would have the same misunderstanding (User.objects.all()), except it actually returns a QuerySet object that would let getExpiredUsers() apply its own criteria and not actually run the query until something tries to read from the object. There's an example up above where someone shows SQLAlchemy doing the same thing.

There are no comments on this comment yet.