Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
webketje2220255dJust came here to fact check my gut feel that a post with so many I<ActualName> interfaces was going to be about C#
-
AlgoRythm50920254dERMs are fuck, in general. Always overcomplicated and you run into specific database problems depending on your data source that you either need to solve via hacks (see: linq, oracle, and .First) or by resorting back to raw query strings (see: largely defeats the purpose)
All people typically need is an object mapper 🙄🙄
Not to mention the fact that Linq to this day still sucks cock at mass-update/deletes -
lorentz15268254d@iSwimInTheC Linq isn't meant for updates, but I think EF has a solution that can somehow accept a Linq filter and bulk-update in SQL.
-
lorentz15268254dbut yeah, idiomatic Linq has very backwards performance characteristics that make me think that they cared more about the looks than the use case during design.
Related Rants
I'm still not over how LINQ is defined as a thin wrapper over both IQueryable (which can be efficiently queried) and IEnumerable (which can only be iterated), but IQueryable extends IEnumerable, so if you execute one unserializable operation anywhere in a query issued to your database it'll merrily pump whatever temporary collection happens to reside on the boundary through the C# program to execute that call on each row and process the rest as an IEnumerable.
rant
the worst kind of implicit
linq
microsoft