Click here to Skip to main content
15,888,242 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 7:17
professionaljackbrownii22-Jun-22 7:17 
GeneralI am unsure whether I am lazy or sensible Pin
Super Lloyd20-Jun-22 22:45
Super Lloyd20-Jun-22 22:45 
GeneralRe: I am unsure whether I am lazy or sensible Pin
Richard MacCutchan20-Jun-22 23:52
mveRichard MacCutchan20-Jun-22 23:52 
GeneralRe: I am unsure whether I am lazy or sensible Pin
Daniel Pfeffer21-Jun-22 1:39
professionalDaniel Pfeffer21-Jun-22 1:39 
GeneralRe: I am unsure whether I am lazy or sensible Pin
Super Lloyd21-Jun-22 17:11
Super Lloyd21-Jun-22 17:11 
GeneralRe: I am unsure whether I am lazy or sensible Pin
englebart21-Jun-22 7:35
professionalenglebart21-Jun-22 7:35 
GeneralRe: I am unsure whether I am lazy or sensible Pin
englebart21-Jun-22 7:39
professionalenglebart21-Jun-22 7:39 
GeneralRe: I am unsure whether I am lazy or sensible Pin
Shmoken9922-Jun-22 5:31
Shmoken9922-Jun-22 5: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 1:05
rallets22-Jun-22 1:05 
GeneralRe: I am unsure whether I am lazy or sensible Pin
Super Lloyd22-Jun-22 14:00
Super Lloyd22-Jun-22 14:00 
GeneralRe: I am unsure whether I am lazy or sensible Pin
jochance24-Jun-22 15:31
jochance24-Jun-22 15:31 
GeneralWSO CCC OTD 2022-06-21 Pin
OriginalGriff20-Jun-22 21:34
mveOriginalGriff20-Jun-22 21:34 
GeneralRe: WSO CCC OTD 2022-06-21 Pin
pkfox20-Jun-22 22:05
professionalpkfox20-Jun-22 22:05 
GeneralRe: WSO CCC OTD 2022-06-21 - we have a winner! Pin
OriginalGriff20-Jun-22 22:40
mveOriginalGriff20-Jun-22 22:40 
GeneralRe: WSO CCC OTD 2022-06-21 - we have a winner! Pin
pkfox20-Jun-22 23:12
professionalpkfox20-Jun-22 23:12 
GeneralRe: WSO CCC OTD 2022-06-21 - we have a winner! Pin
Craig Robbins21-Jun-22 0:16
Craig Robbins21-Jun-22 0:16 
GeneralRe: WSO CCC OTD 2022-06-21 - we have a winner! Pin
OriginalGriff21-Jun-22 0:23
mveOriginalGriff21-Jun-22 0:23 
GeneralRe: WSO CCC OTD 2022-06-21 - we have a winner! Pin
Craig Robbins21-Jun-22 0:27
Craig Robbins21-Jun-22 0:27 
GeneralRe: WSO CCC OTD 2022-06-21 - we have a winner! Pin
OriginalGriff21-Jun-22 0:37
mveOriginalGriff21-Jun-22 0:37 
GeneralFile transfer between two laptops Pin
Amarnath S20-Jun-22 21:28
professionalAmarnath S20-Jun-22 21:28 
GeneralRe: File transfer between two laptops Pin
CPallini20-Jun-22 21:34
mveCPallini20-Jun-22 21:34 
GeneralRe: File transfer between two laptops Pin
Amarnath S20-Jun-22 21:34
professionalAmarnath S20-Jun-22 21:34 
GeneralRe: File transfer between two laptops Pin
trønderen20-Jun-22 23:12
trønderen20-Jun-22 23:12 
GeneralRe: File transfer between two laptops Pin
CPallini21-Jun-22 0:04
mveCPallini21-Jun-22 0:04 
GeneralRe: File transfer between two laptops Pin
RickZeeland20-Jun-22 21:58
mveRickZeeland20-Jun-22 21: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.