Click here to Skip to main content
15,914,323 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: Ever use this syntax in C# 7? Pin
Slacker00715-Sep-17 6:04
professionalSlacker00715-Sep-17 6:04 
GeneralRe: Ever use this syntax in C# 7? Pin
  Forogar  15-Sep-17 7:54
professional  Forogar  15-Sep-17 7:54 
GeneralRe: Ever use this syntax in C# 7? Pin
Slacker00715-Sep-17 8:08
professionalSlacker00715-Sep-17 8:08 
GeneralRe: Ever use this syntax in C# 7? Pin
W Balboos, GHB15-Sep-17 6:36
W Balboos, GHB15-Sep-17 6:36 
GeneralRe: Ever use this syntax in C# 7? Pin
Dave Kreskowiak15-Sep-17 4:23
mveDave Kreskowiak15-Sep-17 4:23 
GeneralRe: Ever use this syntax in C# 7? Pin
TheGreatAndPowerfulOz15-Sep-17 5:19
TheGreatAndPowerfulOz15-Sep-17 5:19 
GeneralRe: Ever use this syntax in C# 7? Pin
Richard Deeming15-Sep-17 5:29
mveRichard Deeming15-Sep-17 5:29 
GeneralRe: Ever use this syntax in C# 7? Pin
Jon McKee15-Sep-17 6:49
professionalJon McKee15-Sep-17 6:49 
Lambdas have become so important for the language that I don't see the issue with expression-bodied members. It's pretty easy to figure out what they mean even if you've never seen them before. But I can see the argument for "it wasn't needed so why add it?"

The throw expressions with a null-coalescing operator, however, is a very logical addition in my opinion. It just makes sense. That operator is great for two things: defaults on null and errors on null. Until now you couldn't do the second instead having to fall back on if(X == null) throw /*error*/. Granted that isn't much boilerplate compared to the handler code that was simplified with ?., but it just makes sense that ?? should make it unnecessary.
GeneralRe: Ever use this syntax in C# 7? Pin
Dave Kreskowiak15-Sep-17 7:28
mveDave Kreskowiak15-Sep-17 7:28 
GeneralRe: Ever use this syntax in C# 7? Pin
R. Giskard Reventlov15-Sep-17 4:50
R. Giskard Reventlov15-Sep-17 4:50 
GeneralRe: Ever use this syntax in C# 7? Pin
lopatir15-Sep-17 6:14
lopatir15-Sep-17 6:14 
GeneralRe: Ever use this syntax in C# 7? Pin
Jon McKee15-Sep-17 6:36
professionalJon McKee15-Sep-17 6:36 
GeneralRe: Ever use this syntax in C# 7? Pin
Munchies_Matt15-Sep-17 8:33
Munchies_Matt15-Sep-17 8:33 
GeneralLegal logic PinPopular
The pompey15-Sep-17 3:33
The pompey15-Sep-17 3:33 
GeneralRe: Legal logic Pin
Marc Clifton15-Sep-17 3:35
mvaMarc Clifton15-Sep-17 3:35 
GeneralRe: Legal logic Pin
Ron Anders15-Sep-17 3:38
Ron Anders15-Sep-17 3:38 
GeneralRe: Legal logic Pin
Eddy Vluggen15-Sep-17 3:38
professionalEddy Vluggen15-Sep-17 3:38 
GeneralRe: Legal logic Pin
megaadam15-Sep-17 3:41
professionalmegaadam15-Sep-17 3:41 
GeneralRe: Legal logic Pin
Eddy Vluggen15-Sep-17 3:43
professionalEddy Vluggen15-Sep-17 3:43 
GeneralRe: Legal logic Pin
The pompey15-Sep-17 3:51
The pompey15-Sep-17 3:51 
GeneralRe: Legal logic Pin
KarstenK15-Sep-17 4:46
mveKarstenK15-Sep-17 4:46 
GeneralRe: Legal logic Pin
Rick York15-Sep-17 5:19
mveRick York15-Sep-17 5:19 
GeneralRe: Legal logic Pin
Tim Carmichael15-Sep-17 3:43
Tim Carmichael15-Sep-17 3:43 
GeneralRe: Legal logic Pin
The pompey15-Sep-17 3:52
The pompey15-Sep-17 3:52 
GeneralRe: Legal logic Pin
Eddy Vluggen15-Sep-17 4:06
professionalEddy Vluggen15-Sep-17 4:06 

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.