Click here to Skip to main content
15,846,571 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: Instant Karma! Pin
jackbrownii22-Jun-22 8:17
professionaljackbrownii22-Jun-22 8:17 
GeneralI am unsure whether I am lazy or sensible Pin
Super Lloyd20-Jun-22 23:45
Super Lloyd20-Jun-22 23:45 
GeneralRe: I am unsure whether I am lazy or sensible Pin
Richard MacCutchan21-Jun-22 0:52
mveRichard MacCutchan21-Jun-22 0:52 
GeneralRe: I am unsure whether I am lazy or sensible Pin
Daniel Pfeffer21-Jun-22 2:39
professionalDaniel Pfeffer21-Jun-22 2:39 
GeneralRe: I am unsure whether I am lazy or sensible Pin
Super Lloyd21-Jun-22 18:11
Super Lloyd21-Jun-22 18:11 
GeneralRe: I am unsure whether I am lazy or sensible Pin
englebart21-Jun-22 8:35
professionalenglebart21-Jun-22 8:35 
GeneralRe: I am unsure whether I am lazy or sensible Pin
englebart21-Jun-22 8:39
professionalenglebart21-Jun-22 8:39 
GeneralRe: I am unsure whether I am lazy or sensible Pin
Shmoken9922-Jun-22 6:31
Shmoken9922-Jun-22 6:31 
100% agree with englebart here. You took the time to figure out the code, refactor and comment what you discovered so the future you can save time.

LINQ is slower but, not that much slower. Compared to how much time future devs might spend trying to grok the code (again) the readability of LINQ is well worth it. Plus, the optimizers are getting better all the time, so the perf diff appears to be shrinking.

Check it in.

Now, did you mention adding unit tests?
GeneralRe: I am unsure whether I am lazy or sensible Pin
rallets22-Jun-22 2:05
rallets22-Jun-22 2:05 
GeneralRe: I am unsure whether I am lazy or sensible Pin
Super Lloyd22-Jun-22 15:00
Super Lloyd22-Jun-22 15:00 
GeneralRe: I am unsure whether I am lazy or sensible Pin
jochance24-Jun-22 16:31
jochance24-Jun-22 16:31 
GeneralWSO CCC OTD 2022-06-21 Pin
OriginalGriff20-Jun-22 22:34
mveOriginalGriff20-Jun-22 22:34 
GeneralRe: WSO CCC OTD 2022-06-21 Pin
pkfox20-Jun-22 23:05
professionalpkfox20-Jun-22 23:05 
GeneralRe: WSO CCC OTD 2022-06-21 - we have a winner! Pin
OriginalGriff20-Jun-22 23:40
mveOriginalGriff20-Jun-22 23:40 
GeneralRe: WSO CCC OTD 2022-06-21 - we have a winner! Pin
pkfox21-Jun-22 0:12
professionalpkfox21-Jun-22 0:12 
GeneralRe: WSO CCC OTD 2022-06-21 - we have a winner! Pin
Craig Robbins21-Jun-22 1:16
Craig Robbins21-Jun-22 1:16 
GeneralRe: WSO CCC OTD 2022-06-21 - we have a winner! Pin
OriginalGriff21-Jun-22 1:23
mveOriginalGriff21-Jun-22 1:23 
GeneralRe: WSO CCC OTD 2022-06-21 - we have a winner! Pin
Craig Robbins21-Jun-22 1:27
Craig Robbins21-Jun-22 1:27 
GeneralRe: WSO CCC OTD 2022-06-21 - we have a winner! Pin
OriginalGriff21-Jun-22 1:37
mveOriginalGriff21-Jun-22 1:37 
GeneralFile transfer between two laptops Pin
Amarnath S20-Jun-22 22:28
professionalAmarnath S20-Jun-22 22:28 
GeneralRe: File transfer between two laptops Pin
CPallini20-Jun-22 22:34
mveCPallini20-Jun-22 22:34 
GeneralRe: File transfer between two laptops Pin
Amarnath S20-Jun-22 22:34
professionalAmarnath S20-Jun-22 22:34 
GeneralRe: File transfer between two laptops Pin
trønderen21-Jun-22 0:12
trønderen21-Jun-22 0:12 
GeneralRe: File transfer between two laptops Pin
CPallini21-Jun-22 1:04
mveCPallini21-Jun-22 1:04 
GeneralRe: File transfer between two laptops Pin
RickZeeland20-Jun-22 22:58
mveRickZeeland20-Jun-22 22:58 

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.