4 ms·
> Like we now have classes, structs and records. IMO records are a great addition, especially when it comes to point-in-time/immutable data. They also provide
by Hawxy 6y ago
> Like we now have classes, structs and records.
IMO records are a great addition, especially when it comes to point-in-time/immutable data. They also provide an improvement to developer efficiency, as basic data classes can be represented with a single line record definition.
> We now have async/await but we also have channels. Some people are going to write code using channels, me others will use async.
I'm not really sure what you're talking about here. C# has no concept of a channel. If you referring to the "System.Threading.Channels" package, it exists for those in the community that would benefit from it, and still uses familiar async/await syntax. It's also a very niche package that is unlikely to have significant adoption, so there's no real concern of the pattern "segmenting" the community.