Click here to Skip to main content
15,892,059 members
Articles / Programming Languages / C# 7.0
Article

Looking Ahead to C# 7 with Mads Torgersen

17 Mar 2016CPOL 18.1K   3   6
For the balance of the video Mads Torgersen talks about where C# is headed and some of the thinking behind some new features.

This article is in the Product Showcase section for our sponsors at CodeProject. These articles are intended to provide you with information on products and services that we consider useful and of value to developers.

Mads is a terrific person so we thought we would stop in to bug him about C# 7. For the first 15-20 minutes he mentions some of the C# 6 features you should be already using. For the balance of the video he talks about where C# is headed and some of the thinking behind some new features. Obviously it is early, but in this new era of openness (the compiler has literally been open source'd) it is refreshing to actually get inside the fortress to see strategy. The best part is you can add your voice to the process! Github Repository Enjoy!

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Canada Canada
Your Canadian resource for tips, tricks, research, case studies…. Everything you need to develop apps and services that users will love.
This is a Organisation (No members)


Comments and Discussions

 
QuestionDeterministism Pin
ChrisWaldron9-Apr-16 1:41
ChrisWaldron9-Apr-16 1:41 
Question[My vote of 2] transcript to post Pin
kiquenet.com4-Apr-16 12:30
professionalkiquenet.com4-Apr-16 12:30 
Questionstill no type variables Pin
Member 1202398824-Mar-16 3:14
Member 1202398824-Mar-16 3:14 
AnswerRe: still no type variables Pin
Mads Torgersen [MSFT]4-Apr-16 12:20
Mads Torgersen [MSFT]4-Apr-16 12:20 
QuestionFunctional approach to C# and pattern matching Pin
Member 805199418-Mar-16 8:07
Member 805199418-Mar-16 8:07 
AnswerRe: Functional approach to C# and pattern matching Pin
Mads Torgersen [MSFT]4-Apr-16 12:17
Mads Torgersen [MSFT]4-Apr-16 12:17 
Good thoughts, thanks!

While we are inspired by functional languages, it is important for us that we don't create a two-languages-in-one situation. We are trying hard to integrate new features as deeply as we can into existing ones, and keep the "feel of C#" even as we evolve the language.

Stateful object-oriented programming kind of assumes that you have "the one truth" about the object within easy reach. When that's not the case because of a distributed environment, things start to get hard: are you operating on the original or a copy? When and how do they get synchronized? There have been many attempts at solving this, and some of them are successful as they go, but reality is that most people go the simpler route of transmitting information (data), not state (objects). We need to also work well for that.

New features like these mean that sometimes there's more than one way to do things. This means that you have to choose, but hopefully not that you have to do both.

Thanks again,

Mads

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.