The future of C# : Build 2018

preview_player
Показать описание
Over the last year we shipped no less than three "point releases" of C# (7.1, 7.2 and 7.3), full of small but useful language features. Mads and Dustin will race you through a tour of these, before turning to some of the big things we have in store for the future: Nullable reference types, recursive patterns, asynchronous streams and more.
Рекомендации по теме
Комментарии
Автор

07:25 my teacher once said, "on a power point presentation, just keep only 5 words at once at a time on a page!"

e.g.

Strategy
1. Growing
2. Innovation
3. Improvements for all
4. Broader Ecosystem

perahoky
Автор

57:50 - The ability to define a dynamic range on substring... yes, that is really nice, and really like the idea of havng index read from last to first via ^0, ^1

conner_wood
Автор

Mads is such a nice person. Probably this is reflected in the language itself :)

victortarnovskiy
Автор

I just learned from this video that I can use tuples in my value assigment constructors in a lambda expression instead of writing a block. amazing, off to refactor all my classes...

Speedow
Автор

What an excellent session. Very appropriate for an excellent language. :)

mike-e-angelo
Автор

I have been waiting for that switch expression syntax for years!

Grimlock
Автор

1:00 "This is becoming traditional, C# has a future and we're going to talk about it"

_audience laughs_

hlmukkel
Автор

If I was doing a code review and saw that new switch pattern they ended up with, I'd make the developer convert it all to a conventional switch. That is one of the most arcane blocks of code I've ever seen.

superstringcheese
Автор

I'm really looking forward to the nullable reference type feature in C# 8. NullReferenceException is probably one of the most frequent causes for C# programs crashing.

andrekohler
Автор

Nice to see that C# is evolving and diverging from the rest of the C-family. More functional. Less Java. Next step: Removing curly braces! Just kidding ;) It's really a living modern programming language!

marna_li
Автор

That is indeed awesome. Lots of stuff are great, i believe legacy code will benefit incredibly by combining the new nullable checks on strings, LinqToForeach\For and viceversa, or even the "fix all in the solution" in combo with .editorconfig... So much great stuff!

P.S. the substing with .. is mindblowing

Macellaio
Автор

@41:20 I think null reference exceptions are a debugging problem not a language problem.
If the exception included what method was trying to be called with the null reference it would be way better.
I know the variable that is null might not be known (+ optimizations)(or even exist if chaining methods), but you know what method was being called on a null object.

Vindignatio
Автор

I've faced a case where I needed an Asynchronous Stream, and it was frustrating that I had to resort to normal for loops. Go C# :)

tecgoblin
Автор

C# needs a write-once, run everywhere GUI development environment. Xamarin doesn’t cut it. Xamarin Forms had potential, but they’ve made it clear that they aren’t interested in supporting MacOS after talking it up for a couple of years, and it’s so buggy it’s one of the most dreaded platforms on a stack overflow survey. Folks are still jumping to electron, react native, etc.

dppage
Автор

Whoaaaa, new keywords! C# was certainly lacking those.

kingarthurthethirdthst
Автор

That range literal at 58:28 is coming straight from VHDL 😁

TheNefastor
Автор

The nullable reference type stuff is amazing. Finally I won't have to constantly bitch at my coworkers to fucking null check their god damn fucking shit over and over and over and over and then have to deal with the fallout and bullshit when they don't. The compiler will do that for me.

WhiteDragon
Автор

Please do Nullable, Records, Either, Union Types for 8.0, then for 9.0-10.0 plan for Dependent Types (possibly by inlining parts of Roslyn with the type declaration), this would allow for Multiparty Session Types, which are BetterBestest)

johannesgupta
Автор

guys AT LEAST 1080, better 4K - so we can actually read the code!

bobbastian
Автор

13:29 How did he edit GrabBag.csproj file without unloading it? I have no such item in popup menu. Some kind of extension?

ВалентинТ-хц