Immutable Records could be added in C# 8.x

There are talks about this feature being postponed to a minor version after 8.0 is released, as it might not be ready for the major C# 8.0 release. The features for C# 8.0 still hasn’t been decided yet, so that means this information is still subject to change! Since Microsoft rebuilt the C# compiler into what is now the Roslyn compiler, the language teams’ feature implementation speed has been phenomenal, they are cranking features out in record time.  Pro C# 7: With .NET and .NET Core Microsoft is committed to continuously update the C# language. They have even given us incremental updates of features that were not yet ready for the major versions release date and subsequently added it in minor language updates, such as C# 7.1, 7.2 and 7.3. Their speed is incredible and it doesn’t seem that long ago that we were introduced to C# 7, and many developers might not even have started using its features. If you haven’t caught up on C# 7, you can take a look at this book: Pro C# 7: With .NET and .NET Core But alas! C# 8 is on its way and has been for some time now. The problem If you have some years under your belt as a software developer, you know the code smell of passing primitives, like ints and strings around your system. Value Objects keep encapsulation in place Consider the following code: Here we are notifying a class that the user state has changed. The user state is spread across...