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
Related Rants
Worst thing? Absuse LINQ and not in a fun sexy way.
Entity framework > check.
LINQ query > check.
Standard IEnunerable magic > check
The developer had decided that it would be a good idea to thread the enumerable all over the place and collapse it anytime they wanted access to the data.
I know it’s a rookie mistake a lot of people make, but it was some pretty core data that ended up being used all over the place, so it was a nightmare to correct and it really impacted performance.
Needless to say they felt very silly when we explained how LINQ was deferred.
rant
linq2sql
linq
wk99
rookiemistake