Click here to Skip to main content
14,551,091 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: ENGLISH is ridiculous Pin
PIEBALDconsult18-Dec-19 6:23
professionalPIEBALDconsult18-Dec-19 6:23 
GeneralRe: ENGLISH is ridiculous Pin
TheGreatAndPowerfulOz18-Dec-19 6:33
MemberTheGreatAndPowerfulOz18-Dec-19 6:33 
GeneralRe: ENGLISH is ridiculous Pin
honey the codewitch17-Dec-19 19:33
mvahoney the codewitch17-Dec-19 19:33 
GeneralRe: Humans are ridiculous Pin
Richard Deeming18-Dec-19 0:06
mveRichard Deeming18-Dec-19 0:06 
GeneralRe: Humans are ridiculous Pin
StarNamer_18-Dec-19 2:44
professionalStarNamer_18-Dec-19 2:44 
GeneralRe: Humans are ridiculous Pin
honey the codewitch18-Dec-19 2:45
mvahoney the codewitch18-Dec-19 2:45 
GeneralRe: Humans are ridiculous Pin
StarNamer_18-Dec-19 3:47
professionalStarNamer_18-Dec-19 3:47 
GeneralRe: Humans are ridiculous Pin
honey the codewitch18-Dec-19 3:49
mvahoney the codewitch18-Dec-19 3:49 
Other than when LINQ can combine them, all enumerations such as foreach, or any operating which takes any subset or combine of an enumeration will create an enumerator object.

You're creating a lot of them there. Well, 3 by my count. Basically every time you use a linq call, minus when linq can combine internally.

Edit: I should add, while it would be acceptable where I'm using it, I'm not currently referencing LINQ in my project and I wouldn't for a single situation like this.

It's easy enough to use LINQless code to achieve the same thing.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

GeneralMini CCCs 156 Pin
Tim Deveaux17-Dec-19 16:37
MemberTim Deveaux17-Dec-19 16:37 
GeneralRe: Mini CCCs 156 Pin
OriginalGriff17-Dec-19 20:51
mveOriginalGriff17-Dec-19 20:51 
GeneralRe: Mini CCCs 156 Pin
Tim Deveaux18-Dec-19 1:17
MemberTim Deveaux18-Dec-19 1:17 
Generalimages of a wondrous world Pin
BillWoodruff17-Dec-19 8:21
mveBillWoodruff17-Dec-19 8:21 
GeneralRe: images of a wondrous world Pin
Rick York17-Dec-19 9:27
mveRick York17-Dec-19 9:27 
GeneralRe: images of a wondrous world Pin
Cp-Coder17-Dec-19 11:13
MemberCp-Coder17-Dec-19 11:13 
GeneralRe: images of a wondrous world Pin
Super Lloyd17-Dec-19 19:21
MemberSuper Lloyd17-Dec-19 19:21 
GeneralRe: images of a wondrous world Pin
Keefer S18-Dec-19 2:31
MemberKeefer S18-Dec-19 2:31 
GeneralRe: images of a wondrous world Pin
OffCenter18-Dec-19 8:12
MemberOffCenter18-Dec-19 8:12 
QuestionBots Pin
Kent Sharkey17-Dec-19 7:45
staffKent Sharkey17-Dec-19 7:45 
AnswerRe: Bots Pin
Joan M17-Dec-19 7:47
professionalJoan M17-Dec-19 7:47 
AnswerRe: Bots Pin
OriginalGriff17-Dec-19 8:06
mveOriginalGriff17-Dec-19 8:06 
GeneralRe: Bots Pin
Richard Deeming17-Dec-19 8:14
mveRichard Deeming17-Dec-19 8:14 
GeneralRe: Bots Pin
Mark_Wallace18-Dec-19 5:18
MemberMark_Wallace18-Dec-19 5:18 
GeneralRe: Bots Pin
Richard Deeming18-Dec-19 6:10
mveRichard Deeming18-Dec-19 6:10 
GeneralRe: Bots Pin
Mark_Wallace19-Dec-19 19:58
MemberMark_Wallace19-Dec-19 19:58 
AnswerRe: Bots Pin
Chris Maunder17-Dec-19 8:09
cofounderChris Maunder17-Dec-19 8:09 

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.