Click here to Skip to main content
15,028,667 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: c# var Pin
ZurdoDev23-Jun-20 11:42
professionalZurdoDev23-Jun-20 11:42 
AnswerRe: c# var Pin
Mycroft Holmes23-Jun-20 12:28
professionalMycroft Holmes23-Jun-20 12:28 
GeneralRe: c# var Pin
Sander Rossel23-Jun-20 21:53
professionalSander Rossel23-Jun-20 21:53 
GeneralRe: c# var Pin
Mycroft Holmes24-Jun-20 12:20
professionalMycroft Holmes24-Jun-20 12:20 
AnswerRe: c# var Pin
Sander Rossel23-Jun-20 21:49
professionalSander Rossel23-Jun-20 21:49 
AnswerRe: c# var Pin
Steve Naidamast24-Jun-20 4:25
professionalSteve Naidamast24-Jun-20 4:25 
AnswerRe: c# var Pin
Rusty Bullet24-Jun-20 5:10
MemberRusty Bullet24-Jun-20 5:10 
AnswerRe: c# var Pin
Michael Waters24-Jun-20 5:44
MemberMichael Waters24-Jun-20 5:44 
I (almost) only use var for non-production code, when I'm writing from whole cloth and doing initial diagnostics. As the code matures, I replace (almost) all instances of var with the actual types. Great way to force you to review and refactor before release.

For very long types, I'll use var, but only when the type is already included in the same location, like a declaration and instantiation.
AnswerRe: c# var Pin
Davyd McColl24-Jun-20 6:00
MemberDavyd McColl24-Jun-20 6:00 
AnswerRe: c# var Pin
salz15024-Jun-20 6:20
Membersalz15024-Jun-20 6:20 
AnswerRe: c# var Pin
Member 289602024-Jun-20 7:24
MemberMember 289602024-Jun-20 7:24 
GeneralRe: c# var Pin
ZurdoDev24-Jun-20 7:39
professionalZurdoDev24-Jun-20 7:39 
AnswerRe: c# var Pin
Fabio Franco24-Jun-20 12:40
professionalFabio Franco24-Jun-20 12:40 
AnswerRe: c# var Pin
zezba900024-Jun-20 12:41
Memberzezba900024-Jun-20 12:41 
AnswerRe: c# var Pin
KateAshman24-Jun-20 22:13
MemberKateAshman24-Jun-20 22:13 
AnswerRe: c# var Pin
JohaViss6125-Jun-20 5:40
professionalJohaViss6125-Jun-20 5:40 
AnswerRe: c# var Pin
BDieser26-Jun-20 4:28
MemberBDieser26-Jun-20 4:28 
AnswerRe: c# var Pin
Member 1409260529-Jun-20 22:04
MemberMember 1409260529-Jun-20 22:04 
GeneralCCC Solution - 2020-06-23 Pin
Randor 23-Jun-20 2:26
professional Randor 23-Jun-20 2:26 
GeneralRe: CCC Solution - 2020-06-23 Pin
Richard MacCutchan23-Jun-20 3:09
mveRichard MacCutchan23-Jun-20 3:09 
GeneralRe: CCC Solution - 2020-06-23 Pin
Randor 23-Jun-20 4:06
professional Randor 23-Jun-20 4:06 
GeneralRe: CCC Solution - 2020-06-23 Pin
Richard MacCutchan23-Jun-20 4:14
mveRichard MacCutchan23-Jun-20 4:14 
QuestionWhich graph type would you use? Pin
Joan M23-Jun-20 1:58
professionalJoan M23-Jun-20 1:58 
AnswerRe: Which graph type would you use? Pin
Garth J Lancaster23-Jun-20 2:02
mveGarth J Lancaster23-Jun-20 2:02 
AnswerRe: Which graph type would you use? Pin
musefan23-Jun-20 2:31
Membermusefan23-Jun-20 2:31 

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.