Click here to Skip to main content
14,450,268 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# code survey Pin
CPallini29-Oct-18 23:37
mveCPallini29-Oct-18 23:37 
GeneralRe: C# code survey Pin
GuyThiebaut29-Oct-18 23:13
professionalGuyThiebaut29-Oct-18 23:13 
GeneralRe: C# code survey Pin
Jörgen Andersson29-Oct-18 23:21
communityengineerJörgen Andersson29-Oct-18 23:21 
GeneralRe: C# code survey Pin
GKP199230-Oct-18 0:05
professionalGKP199230-Oct-18 0:05 
GeneralRe: C# code survey Pin
thatraja30-Oct-18 0:18
professionalthatraja30-Oct-18 0:18 
JokeRe: C# code survey Pin
Pete O'Hanlon30-Oct-18 2:12
communityengineerPete O'Hanlon30-Oct-18 2:12 
GeneralRe: C# code survey Pin
Super Lloyd30-Oct-18 2:44
MemberSuper Lloyd30-Oct-18 2:44 
GeneralRe: C# code survey Pin
Nathan Minier30-Oct-18 2:26
professionalNathan Minier30-Oct-18 2:26 
Super Lloyd wrote:
In his defence he has an argument. If someone use that DTO as well, the compiler will force them to initialise all values.


Yeah, initialization does not inherently mean useful values, so why force lazy coders to initialize meaningless values?
var dto = new FooDto(actualT1Val,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null);
"Never attribute to malice that which can be explained by stupidity."
- Hanlon's Razor

GeneralRe: C# code survey Pin
Super Lloyd30-Oct-18 2:29
MemberSuper Lloyd30-Oct-18 2:29 
GeneralRe: C# code survey Pin
Super Lloyd30-Oct-18 2:30
MemberSuper Lloyd30-Oct-18 2:30 
GeneralRe: C# code survey Pin
MadMyche30-Oct-18 2:53
mveMadMyche30-Oct-18 2:53 
JokeRe: C# code survey Pin
ZurdoDev30-Oct-18 2:55
mveZurdoDev30-Oct-18 2:55 
GeneralRe: C# code survey Pin
Super Lloyd30-Oct-18 3:30
MemberSuper Lloyd30-Oct-18 3:30 
GeneralRe: C# code survey Pin
Hooga Booga31-Oct-18 2:41
MemberHooga Booga31-Oct-18 2:41 
GeneralRe: C# code survey Pin
Eddy Vluggen30-Oct-18 3:03
professionalEddy Vluggen30-Oct-18 3:03 
GeneralRe: C# code survey Pin
Super Lloyd30-Oct-18 3:29
MemberSuper Lloyd30-Oct-18 3:29 
GeneralRe: C# code survey Pin
Eddy Vluggen30-Oct-18 3:33
professionalEddy Vluggen30-Oct-18 3:33 
GeneralRe: C# code survey Pin
Marc Clifton30-Oct-18 3:53
communityengineerMarc Clifton30-Oct-18 3:53 
GeneralRe: C# code survey Pin
Dan Neely30-Oct-18 3:55
MemberDan Neely30-Oct-18 3:55 
JokeRe: C# code survey Pin
Foothill30-Oct-18 5:26
professionalFoothill30-Oct-18 5:26 
GeneralRe: C# code survey Pin
Gary Wheeler30-Oct-18 7:29
MemberGary Wheeler30-Oct-18 7:29 
GeneralRe: C# code survey Pin
Rob Philpott30-Oct-18 7:34
MemberRob Philpott30-Oct-18 7:34 
GeneralRe: C# code survey Pin
ScottM131-Oct-18 0:10
MemberScottM131-Oct-18 0:10 
GeneralRe: C# code survey Pin
Sander Rossel31-Oct-18 1:49
professionalSander Rossel31-Oct-18 1:49 
GeneralRe: C# code survey Pin
DerekT-P31-Oct-18 2:31
professionalDerekT-P31-Oct-18 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.