Click here to Skip to main content
15,914,419 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# 7 looks interesting... Pin
Brisingr Aerowing24-Aug-16 15:52
professionalBrisingr Aerowing24-Aug-16 15:52 
GeneralRe: C# 7 looks interesting... Pin
Super Lloyd24-Aug-16 16:30
Super Lloyd24-Aug-16 16:30 
PraiseRe: C# 7 looks interesting... Pin
User 113800024-Aug-16 18:12
User 113800024-Aug-16 18:12 
GeneralRe: C# 7 looks interesting... Pin
Super Lloyd24-Aug-16 19:28
Super Lloyd24-Aug-16 19:28 
GeneralRe: C# 7 looks interesting... Pin
Vark11125-Aug-16 5:46
Vark11125-Aug-16 5:46 
GeneralRe: C# 7 looks interesting... Pin
jtmueller26-Aug-16 4:59
jtmueller26-Aug-16 4:59 
GeneralRe: C# 7 looks interesting... Pin
den2k8824-Aug-16 21:24
professionalden2k8824-Aug-16 21:24 
GeneralRe: C# 7 looks interesting... Pin
Dan Neely25-Aug-16 3:14
Dan Neely25-Aug-16 3:14 
Initial gut call reactions...

The current out syntax is klunky, but hiding variable declarations like that is even worse. Dead | X| Dead | X| Dead | X|

The out * for "I don't care" is worrying since it will encourage bad behavior by people who're lazy/don't understand what they're doing. Yeah ignoring return variables is a problem now; but I don't think encouraging it is a good idea in the general case. It might make some things like the cluster elephants that are MS Office COM wrappers less painful to use; but the core problem is that the API is a cluster elephant not the language syntax around calling it. Thumbs Down | :thumbsdown:

Type pattern matching, the initial trivial cases are rather pointless IMO (and whoever decided it was OK to combine an if and then on a single line should be force fed his keyboard); but making switches easier to use and more flexible is cool. Thumbs Up | :thumbsup:

The new tuple return feature looks awesome. Thumbs Up | :thumbsup: Thumbs Up | :thumbsup:

Deconstructing it into separate variables when there's no innate reason to keep them bound after the call (eg returning a computation result and any errors/warnings reported by the computation) means I can have my cake and eat it too. Thumbs Up | :thumbsup: Thumbs Up | :thumbsup: Thumbs Up | :thumbsup:

I'm not so sure about general type deconstruction. On the one hand it's just syntactic sugar, on the other my gut reaction is that it could probably be abused horribly somehow. Thumbs Up | :thumbsup: Thumbs Down | :thumbsdown:

Wild cards in tuple deconstruction trigger the same mixed reaction as with wildcard out parameters and deconstructing normal objects. Thumbs Up | :thumbsup: Thumbs Down | :thumbsdown:

Local functions. I missed these many years ago when transitioning from Pascal to C++; now I feel like they're just adding an extra layer of code hiding to no real gain. Thumbs Down | :thumbsdown:

Allowing _'s in numerical literals to improve readability. Looks like a nice minor usability gain with no real downside. Thumbs Up | :thumbsup:

Ref returns are probably a good idea overall; but requiring devs who've never had to think in terms of pointer-fun to deal with stuff like this might cause confusion. Thumbs Up | :thumbsup:

Generalized async types. Sounds like a good idea, but since I haven't done any greenfield dev with an opportunity to experiment with async I don't feel comfortable making a judgement call here. Thumbs Up | :thumbsup: Thumbs Down | :thumbsdown:

More expression bodies takes the fugliest thing in C#6 and smears it over more of the language like a roomba confronted by a fresh turd[^]. Dead | X| Dead | X| Dead | X| Dead | X| (I was tempted to post my giant vomit meta spewly here.)

Throw expression bodies. Well they're getting close, they need to add throw up and they'll have it nailed. Once again Dead | X| Dead | X| Dead | X| Dead | X| Dead | X|
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius

Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt

GeneralRe: C# 7 looks interesting... Pin
kdmote29-Aug-16 7:19
kdmote29-Aug-16 7:19 
GeneralRe: C# 7 looks interesting... Pin
Dan Neely29-Aug-16 7:54
Dan Neely29-Aug-16 7:54 
GeneralRe: C# 7 looks interesting... Pin
kdmote29-Aug-16 8:02
kdmote29-Aug-16 8:02 
GeneralRe: C# 7 looks interesting... Pin
Dan Neely29-Aug-16 8:08
Dan Neely29-Aug-16 8:08 
JokeRe: C# 7 looks interesting... Pin
User 274316225-Aug-16 20:54
User 274316225-Aug-16 20:54 
GeneralCan anybody tell me that mark.com is reliable or not? Pin
bestbear24-Aug-16 15:25
bestbear24-Aug-16 15:25 
GeneralRe: Can anybody tell me that mark.com is reliable or not? Pin
DaveAuld24-Aug-16 21:16
professionalDaveAuld24-Aug-16 21:16 
PraiseA game to celebrate recent scientific discovery Pin
Mladen Janković24-Aug-16 11:58
Mladen Janković24-Aug-16 11:58 
QuestionMedical Question for the non-Americans here Pin
Foothill24-Aug-16 10:44
professionalFoothill24-Aug-16 10:44 
AnswerRe: Medical Question for the non-Americans here Pin
  Forogar  24-Aug-16 11:06
professional  Forogar  24-Aug-16 11:06 
GeneralRe: Medical Question for the non-Americans here Pin
Foothill24-Aug-16 11:07
professionalFoothill24-Aug-16 11:07 
GeneralRe: Medical Question for the non-Americans here Pin
  Forogar  24-Aug-16 11:09
professional  Forogar  24-Aug-16 11:09 
GeneralRe: Medical Question for the non-Americans here Pin
OriginalGriff24-Aug-16 19:56
mveOriginalGriff24-Aug-16 19:56 
GeneralRe: Medical Question for the non-Americans here Pin
Richard MacCutchan24-Aug-16 21:45
mveRichard MacCutchan24-Aug-16 21:45 
GeneralRe: Medical Question for the non-Americans here Pin
OriginalGriff24-Aug-16 21:54
mveOriginalGriff24-Aug-16 21:54 
GeneralRe: Medical Question for the non-Americans here Pin
Tomaž Štih24-Aug-16 23:32
Tomaž Štih24-Aug-16 23:32 
GeneralRe: Medical Question for the non-Americans here Pin
OriginalGriff24-Aug-16 23:43
mveOriginalGriff24-Aug-16 23:43 

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.