Click here to Skip to main content
15,900,906 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
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 
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 
Yes, you are but so am I. I guess that linq is all about lazyness, don't you think? Wink | ;-)

Instead of using single char variable names I mostly use a short descriptive name for the type like 'car' or 'person'.
In this case I'd use 'ivpair' instead of sortItem, since the OrderBy is clear enough for me. Also 'item' adds no more clarity than 'i' or 't' because the item type is irrelevant for sorting.

The lazyness is IMHO encouraged by the numerous examples available and course exercises; they tend to save on keystrokes and sacrifice maintainance. Can't change the world though...
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 
GeneralMessage Removed Pin
12-Aug-15 4:04
professionalN_tro_P12-Aug-15 4:04 
GeneralRe: Windows 10 annoyances so far Pin
Pete O'Hanlon12-Aug-15 12:17
mvePete O'Hanlon12-Aug-15 12:17 

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.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   496 votes