Click here to Skip to main content
15,896,201 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
mvePIEBALDconsult18-Dec-19 6:23 
GeneralRe: ENGLISH is ridiculous Pin
TheGreatAndPowerfulOz18-Dec-19 6:33
TheGreatAndPowerfulOz18-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@work18-Dec-19 2:44
professionalStarNamer@work18-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@work18-Dec-19 3:47
professionalStarNamer@work18-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
Tim 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
Tim Deveaux18-Dec-19 1:17 
Generalimages of a wondrous world PinPopular
BillWoodruff17-Dec-19 8:21
professionalBillWoodruff17-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
Cp-Coder17-Dec-19 11:13 
GeneralRe: images of a wondrous world Pin
Super Lloyd17-Dec-19 19:21
Super Lloyd17-Dec-19 19:21 
GeneralRe: images of a wondrous world Pin
Keefer S18-Dec-19 2:31
Keefer S18-Dec-19 2:31 
GeneralRe: images of a wondrous world Pin
OffCenter18-Dec-19 8:12
OffCenter18-Dec-19 8:12 
QuestionBots Pin
Kent Sharkey17-Dec-19 7:45
staffKent Sharkey17-Dec-19 7:45 
AnswerRe: Bots PinPopular
Joan M17-Dec-19 7:47
professionalJoan M17-Dec-19 7:47 
AnswerRe: Bots PinPopular
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
Mark_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
Mark_Wallace19-Dec-19 19:58 
AnswerRe: Bots PinPopular
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.