Live data from Hacker News

What's New in C# 6.0 [video]

channel9.msdn.com

1–10 of 145 posts

Re: What's New in C# 6.0 [video]

#3
These are very nice changes. Especially the ability to write a quick lambda for named functions (or functions which are needed often).

The elvis operator is useful to. Makes me think sticking to F# will cause fewer classes of bugs that can happen in C# (the onChanged example is quite interesting).

Re: What's New in C# 6.0 [video]

#6
Being able to use await in catch and finally must have been incredibly hard to implement for them. Especially in the finally part.

I mean - I'm saying this as somebody who hasn't done a lot of C# or .NET work in the last few years, but think about what you would have to do if you had to implement this in a safe and bug-free way.

Re: What's New in C# 6.0 [video]

#7
Interestingly, if you'd like to check out how some of these features were implemented, you totally can. Roslyn is open-source (http://roslyn.codeplex.com/).

That being said, I hope that all the open-sourcing is going to make it available where I really want to use it - Unity, for instance. (Disclaimer: I'm an open source dev @ Microsoft)

Re: What's New in C# 6.0 [video]

#9
The null-conditional operators and string interpolation are really cool.

I don't use C# anymore (job change, not out of dislike), but I was always really happy working in it. I'm still not a huge fan of Windows, but C# is a wonderful language.

Post reply on HN