Click here to Skip to main content
15,867,957 members

Survey Results

Do you use full variable names in trivial lambda expressions?

Survey period: 24 Aug 2015 to 31 Aug 2015

eg "Items.Select(x => x.Id)" vs "Items.Select(product => product.ID)". Are you brief or expressive?

OptionVotes% 
I tend to use short (eg single letter) variable names in throw-away lambda expressions.54039.16
It depends on the context or complexity of the lambda40429.30
I tend to use full variable names for lambda expressions21315.45
I don't use lambda expressions22216.10



 
GeneralFirst letter Pin
Troy Bryant27-Aug-15 6:40
Troy Bryant27-Aug-15 6:40 
GeneralFirst Letter Pin
cjb11025-Aug-15 21:46
cjb11025-Aug-15 21:46 
I tend to use the first letter of the thing/object, or f for throwaways, or n & p for the next / previous ones.
GeneralRe: First Letter Pin
Wastedtalent25-Aug-15 23:00
professionalWastedtalent25-Aug-15 23:00 
GeneralRe: First Letter Pin
cjb11026-Aug-15 21:50
cjb11026-Aug-15 21:50 
GeneralAll Greek to me Pin
Amarnath S25-Aug-15 2:10
professionalAmarnath S25-Aug-15 2:10 
GeneralRe: All Greek to me Pin
Cimak66629-Aug-15 20:00
Cimak66629-Aug-15 20:00 
GeneralFirst letter of object type Pin
Wastedtalent25-Aug-15 1:57
professionalWastedtalent25-Aug-15 1:57 
GeneralI always use x because...math(s) Pin
Alexander DiMauro25-Aug-15 1:09
Alexander DiMauro25-Aug-15 1:09 
GeneralRe: I always use x because...math(s) Pin
Lincoln Pires25-Aug-15 7:25
professionalLincoln Pires25-Aug-15 7:25 
GeneralIn my case.. Pin
Afzaal Ahmad Zeeshan24-Aug-15 7:25
professionalAfzaal Ahmad Zeeshan24-Aug-15 7:25 
GeneralRe: In my case.. Pin
Mycroft Holmes25-Aug-15 17:23
professionalMycroft Holmes25-Aug-15 17:23 
GeneralIt is my habbit Pin
Sanjay K. Gupta24-Aug-15 4:04
professionalSanjay K. Gupta24-Aug-15 4:04 
GeneralSomewhat contextual for me Pin
Dan Neely24-Aug-15 3:46
Dan Neely24-Aug-15 3:46 
GeneralRe: Somewhat contextual for me Pin
Rob Grainger26-Aug-15 22:18
Rob Grainger26-Aug-15 22:18 
GeneralI be use expression lamda long? Pin
Slacker00724-Aug-15 1:47
professionalSlacker00724-Aug-15 1:47 
GeneralRe: I be use expression lamda long? Pin
Sander Rossel24-Aug-15 3:34
professionalSander Rossel24-Aug-15 3:34 
GeneralRe: I be use expression lamda long? Pin
Slacker00724-Aug-15 5:21
professionalSlacker00724-Aug-15 5:21 
GeneralMake readability a habit Pin
Jörgen Andersson24-Aug-15 1:18
professionalJörgen Andersson24-Aug-15 1:18 
GeneralRe: Make readability a habit Pin
Nemanja Trifunovic24-Aug-15 2:40
Nemanja Trifunovic24-Aug-15 2:40 
GeneralRe: Make readability a habit Pin
Kevin McFarlane25-Aug-15 3:09
Kevin McFarlane25-Aug-15 3:09 
GeneralRe: Make readability a habit Pin
PIEBALDconsult24-Aug-15 4:48
mvePIEBALDconsult24-Aug-15 4:48 
GeneralRe: Make readability a habit Pin
Jörgen Andersson24-Aug-15 7:02
professionalJörgen Andersson24-Aug-15 7:02 
GeneralRe: Make readability a habit Pin
CDP180224-Aug-15 7:48
CDP180224-Aug-15 7:48 
GeneralNice feature BUT ... Pin
KarstenK24-Aug-15 0:50
mveKarstenK24-Aug-15 0:50 
GeneralAll code should pass the 3 and 10 test Pin
Duncan Edwards Jones23-Aug-15 23:47
professionalDuncan Edwards Jones23-Aug-15 23:47 

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.