#stldodn #dodn14 last session for me: LINQ

The constant struggle between # lines of code versus performance.  Every session I’ve heard about why we should use LING, is about how many lines of code we reduced.  On the flip side, I always hear from talks of performance why we shouldn’t be using LINQ.  This seems to be the same struggle we have in SQL, using MERGE and CTE doesn’t give you performance gain, but makes the code more maintainable.

But the talk is very good.  I learned what deferred execution is.  If the result is iEnumerable or iQueryable, the app doesn’t hit the database until we enumerate from the list.

Now we get into grouping in LINQ, and I lost interest completely.  Talk about complication of code, this is cool, but not what I want to do with my code.

Print | posted on Saturday, November 15, 2014 3:42 PM


No comments posted yet.

Your comment:


Copyright © Kevin Shyr

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski