Click here to Skip to main content
15,895,084 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: LINQ "let" Pin
OriginalGriff8-Jun-16 4:35
mveOriginalGriff8-Jun-16 4:35 
GeneralRe: LINQ "let" Pin
Rob Philpott8-Jun-16 4:51
Rob Philpott8-Jun-16 4:51 
GeneralRe: LINQ "let" Pin
Richard Deeming8-Jun-16 5:17
mveRichard Deeming8-Jun-16 5:17 
GeneralRe: LINQ "let" Pin
Rob Philpott8-Jun-16 7:37
Rob Philpott8-Jun-16 7:37 
GeneralRe: LINQ "let" Pin
Marc Clifton8-Jun-16 7:59
mvaMarc Clifton8-Jun-16 7:59 
GeneralRe: LINQ "let" Pin
Richard Deeming8-Jun-16 8:40
mveRichard Deeming8-Jun-16 8:40 
GeneralRe: LINQ "let" Pin
90823658-Jun-16 5:28
90823658-Jun-16 5:28 
GeneralRe: LINQ "let" Pin
Sander Rossel8-Jun-16 5:51
professionalSander Rossel8-Jun-16 5:51 
You're missing out on a lot!
LINQ can be a bit slower, but it's awesome for many use cases.
When you really need the milliseconds go for regular ADO.NET, but how often do you really need that?
My experience with LINQ is not that it's slow to use, but that people suddenly forget that their LINQ expression becomes a SQL query and start writing the most horrible, non-indexed queries, now THAT is a performance killer.

What I really like about LINQ is that you can create your own extension methods and use those to create queries that read like regular sentences, or just a lot better than SQL in general (I mean, who remembers why all those WHERE clauses are there?) Smile | :)
Read my (free) ebook Object-Oriented Programming in C# Succinctly.
Visit my blog at Sander's bits - Writing the code you need.
Or read my articles here on CodeProject.
Simplicity is prerequisite for reliability.
— Edsger W. Dijkstra
Regards,
Sander

GeneralRe: LINQ "let" Pin
Nicholas Marty9-Jun-16 2:53
professionalNicholas Marty9-Jun-16 2:53 
GeneralRe: LINQ "let" Pin
Sander Rossel9-Jun-16 3:43
professionalSander Rossel9-Jun-16 3:43 
GeneralRe: LINQ "let" Pin
Nicholas Marty9-Jun-16 4:40
professionalNicholas Marty9-Jun-16 4:40 
GeneralRe: LINQ "let" Pin
James Curran9-Jun-16 4:18
James Curran9-Jun-16 4:18 
GeneralRe: LINQ "let" Pin
Marc Clifton8-Jun-16 7:57
mvaMarc Clifton8-Jun-16 7:57 
GeneralRe: LINQ "let" Pin
Nish Nishant8-Jun-16 10:02
sitebuilderNish Nishant8-Jun-16 10:02 
GeneralRe: LINQ "let" Pin
Kenneth Haugland8-Jun-16 4:45
mvaKenneth Haugland8-Jun-16 4:45 
GeneralRe: LINQ "let" Pin
Sander Rossel8-Jun-16 5:44
professionalSander Rossel8-Jun-16 5:44 
GeneralRe: LINQ "let" Pin
BillWoodruff8-Jun-16 8:29
professionalBillWoodruff8-Jun-16 8:29 
GeneralRe: LINQ "let" Pin
Richard Deeming8-Jun-16 8:52
mveRichard Deeming8-Jun-16 8:52 
GeneralRe: LINQ "let" Pin
BillWoodruff8-Jun-16 12:46
professionalBillWoodruff8-Jun-16 12:46 
GeneralRe: LINQ "let" Pin
Mark Whybird8-Jun-16 21:24
Mark Whybird8-Jun-16 21:24 
GeneralRe: LINQ "let" Pin
Richard Deeming9-Jun-16 1:38
mveRichard Deeming9-Jun-16 1:38 
GeneralRe: LINQ "let" Pin
Nicholas Marty9-Jun-16 2:54
professionalNicholas Marty9-Jun-16 2:54 
GeneralRe: LINQ "let" Pin
Mark Whybird9-Jun-16 13:41
Mark Whybird9-Jun-16 13:41 
GeneralRe: LINQ "let" Pin
Mark Whybird9-Jun-16 13:40
Mark Whybird9-Jun-16 13:40 
AnswerRe: LINQ "let" Pin
Nish Nishant8-Jun-16 10:01
sitebuilderNish Nishant8-Jun-16 10:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.