rbwhitaker / CSharpPlayersGuideEarlyAccess

A place to track issues with the C# Player's Guide for patches and future editions
19 stars 0 forks source link

Numeric interface types #639

Closed rbwhitaker closed 1 year ago

rbwhitaker commented 2 years ago

C# 11 adds a pile of new interface types for numerics. The book might want to touch on these, especially in the context of interfaces and/or operator overloading.

rbwhitaker commented 1 year ago

These are covered in a blog post on the website. It is some super deep, super complex stuff that combines interfaces, generics, and operator overloading, along with a mountain of new interfaces in the BCL. The combination of all of those leads to very complicated stuff. It is not obvious that this stuff will be immediately beneficial to most people, so I'm going to skip it in the book for now, and address it in blog posts (four of them, actually).