Click here to Skip to main content
15,902,276 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: Using IEnumerable nonsense for everything Pin
harold aptroot18-Jul-16 0:54
harold aptroot18-Jul-16 0:54 
GeneralRe: Using IEnumerable nonsense for everything Pin
Sentenryu18-Jul-16 2:00
Sentenryu18-Jul-16 2:00 
GeneralRe: Using IEnumerable nonsense for everything Pin
harold aptroot18-Jul-16 2:08
harold aptroot18-Jul-16 2:08 
GeneralRe: Using IEnumerable nonsense for everything Pin
Sentenryu18-Jul-16 2:42
Sentenryu18-Jul-16 2:42 
GeneralRe: Using IEnumerable nonsense for everything Pin
jfren48418-Jul-16 3:31
jfren48418-Jul-16 3:31 
GeneralRe: Using IEnumerable nonsense for everything Pin
Clifford Nelson18-Jul-16 10:15
Clifford Nelson18-Jul-16 10:15 
GeneralRe: Using IEnumerable nonsense for everything Pin
Mladen Janković18-Jul-16 10:36
Mladen Janković18-Jul-16 10:36 
GeneralRe: Using IEnumerable nonsense for everything Pin
Maarten197718-Jul-16 3:48
Maarten197718-Jul-16 3:48 
Linq is all about defining the query instead of the execution of the query. You say you can implement Except in a single line of code. Can you also do that for grouping, ordering, projection? And all those other possibilities, all used in combination?

Using Ling you are sacrificing a little performance, and you are (read: should be) gaining a lot in maintenance. You can implement the above probably without problems. Can you also read the implementation of others without any problems? Using Linq you and your co-workers are all using the same methods, and therefor, can read each others code a lot easier, compared to a different implementation for you and every co-worker you have.

Of course, you can completely kill the performance, and no-one will say that Linq is faster, and yes, you have to know what you are doing. But that is no different from all the 'other tools in your toolbox'.
GeneralRe: Using IEnumerable nonsense for everything Pin
Herbie Mountjoy18-Jul-16 1:49
professionalHerbie Mountjoy18-Jul-16 1:49 
GeneralRe: Using IEnumerable nonsense for everything Pin
Rob Grainger19-Jul-16 5:56
Rob Grainger19-Jul-16 5:56 
GeneralRe: Using IEnumerable nonsense for everything Pin
#realJSOP16-Jul-16 6:07
professional#realJSOP16-Jul-16 6:07 
GeneralRe: Using IEnumerable nonsense for everything Pin
BillWoodruff16-Jul-16 6:12
professionalBillWoodruff16-Jul-16 6:12 
GeneralRe: Using IEnumerable nonsense for everything Pin
harold aptroot16-Jul-16 6:16
harold aptroot16-Jul-16 6:16 
GeneralRe: Using IEnumerable nonsense for everything Pin
BillWoodruff16-Jul-16 6:20
professionalBillWoodruff16-Jul-16 6:20 
GeneralRe: Using IEnumerable nonsense for everything Pin
Marc Clifton16-Jul-16 14:47
mvaMarc Clifton16-Jul-16 14:47 
GeneralRe: Using IEnumerable nonsense for everything Pin
BillWoodruff16-Jul-16 18:45
professionalBillWoodruff16-Jul-16 18:45 
GeneralRe: Using IEnumerable nonsense for everything Pin
Marc Clifton17-Jul-16 3:55
mvaMarc Clifton17-Jul-16 3:55 
GeneralRe: Using IEnumerable nonsense for everything Pin
Jono Stewart18-Jul-16 4:10
Jono Stewart18-Jul-16 4:10 
GeneralRe: Using IEnumerable nonsense for everything Pin
Rob Grainger19-Jul-16 22:21
Rob Grainger19-Jul-16 22:21 
GeneralRe: Using IEnumerable nonsense for everything Pin
jgakenhe16-Jul-16 8:37
professionaljgakenhe16-Jul-16 8:37 
GeneralRe: Using IEnumerable nonsense for everything PinPopular
Sander Rossel17-Jul-16 0:08
professionalSander Rossel17-Jul-16 0:08 
GeneralRe: Using IEnumerable nonsense for everything Pin
Mladen Janković17-Jul-16 0:30
Mladen Janković17-Jul-16 0:30 
GeneralRe: Using IEnumerable nonsense for everything Pin
Rob Grainger19-Jul-16 22:22
Rob Grainger19-Jul-16 22:22 
GeneralRe: Using IEnumerable nonsense for everything PinPopular
Ravi Bhavnani16-Jul-16 9:15
professionalRavi Bhavnani16-Jul-16 9:15 
GeneralRe: Using IEnumerable nonsense for everything Pin
Daniel Pfeffer16-Jul-16 9:39
professionalDaniel Pfeffer16-Jul-16 9:39 

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.