Click here to Skip to main content
15,906,335 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: The Laziness of LINQ Pin
Matthew Dennis12-Aug-15 2:44
sysadminMatthew Dennis12-Aug-15 2:44 
GeneralRe: The Laziness of LINQ Pin
Bassam Abdul-Baki12-Aug-15 6:59
professionalBassam Abdul-Baki12-Aug-15 6:59 
GeneralRe: The Laziness of LINQ Pin
Brady Kelly13-Aug-15 0:10
Brady Kelly13-Aug-15 0:10 
GeneralRe: The Laziness of LINQ Pin
David Days13-Aug-15 6:29
professionalDavid Days13-Aug-15 6:29 
GeneralRe: The Laziness of LINQ Pin
DumpsterJuice13-Aug-15 1:44
DumpsterJuice13-Aug-15 1:44 
GeneralRe: The Laziness of LINQ Pin
ClockMeister13-Aug-15 2:55
professionalClockMeister13-Aug-15 2:55 
GeneralRe: The Laziness of LINQ Pin
Scott Corbett13-Aug-15 5:11
Scott Corbett13-Aug-15 5:11 
GeneralRe: The Laziness of LINQ Pin
patbob13-Aug-15 5:28
patbob13-Aug-15 5:28 
I agree with you on the first Select because there's a little complexity in that lambda, but for the OrderBy and second Select, its one line of code, and if it isn't obvious what the parameter represents and how its being used, then a longer variable name isn't going to help the reader much.

Personally, for those one-liners, I prefer the simple 'p' argument -- less for my eye to read and my brain to parse (and ignore), which means I reach understanding of the code a lot faster.
We can program with only 1's, but if all you've got are zeros, you've got nothing.

GeneralRe: The Laziness of LINQ Pin
_CodeWarrior13-Aug-15 9:42
_CodeWarrior13-Aug-15 9:42 
GeneralRe: The Laziness of LINQ Pin
codejager13-Aug-15 23:44
codejager13-Aug-15 23:44 
GeneralRe: The Laziness of LINQ Pin
Al Chak15-Aug-15 22:20
Al Chak15-Aug-15 22:20 
AdminMaintenance: We'll be read-only for 3hrs [Update: all done] Pin
Chris Maunder11-Aug-15 12:02
cofounderChris Maunder11-Aug-15 12:02 
GeneralRe: Maintenance: We'll be read-only for 3hrs [Update: all done] Pin
Brisingr Aerowing11-Aug-15 15:03
professionalBrisingr Aerowing11-Aug-15 15:03 
GeneralI am sea sick Pin
Rage11-Aug-15 11:40
professionalRage11-Aug-15 11:40 
GeneralRe: I am sea sick Pin
Chris Maunder11-Aug-15 15:02
cofounderChris Maunder11-Aug-15 15:02 
GeneralRe: I am sea sick Pin
Kschuler12-Aug-15 4:18
Kschuler12-Aug-15 4:18 
NewsRyu-JIT fixed Pin
Kent Sharkey11-Aug-15 10:23
staffKent Sharkey11-Aug-15 10:23 
GeneralRe: Ryu-JIT fixed Pin
Richard Deeming11-Aug-15 11:17
mveRichard Deeming11-Aug-15 11:17 
GeneralRe: Ryu-JIT fixed Pin
Dan Neely12-Aug-15 2:56
Dan Neely12-Aug-15 2:56 
GeneralRe: Ryu-JIT fixed Pin
Kent Sharkey12-Aug-15 6:40
staffKent Sharkey12-Aug-15 6:40 
GeneralWindows 10 annoyances so far PinPopular
Chris Maunder11-Aug-15 9:03
cofounderChris Maunder11-Aug-15 9:03 
GeneralMessage Removed Pin
11-Aug-15 9:14
professionalN_tro_P11-Aug-15 9:14 
GeneralRe: Windows 10 annoyances so far Pin
Chris Maunder11-Aug-15 10:19
cofounderChris Maunder11-Aug-15 10:19 
GeneralMessage Removed Pin
11-Aug-15 10:36
professionalN_tro_P11-Aug-15 10:36 
GeneralRe: Windows 10 annoyances so far Pin
Pete O'Hanlon11-Aug-15 20:38
mvePete O'Hanlon11-Aug-15 20:38 

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.