Add Minima
& Maxima
to supersede MinBy
& MaxBy
#1018
Labels
Milestone
Minima
& Maxima
to supersede MinBy
& MaxBy
#1018
PR #945 addressed most conflicts with .NET, but just two exceptions remain:
Let's consider adding
Minima
andMaxima
, respectively. While it's going to be a never-ending chase to avoid conflicts with .NET, as more identically named methods may continue to land in future releases, it's worth making an exception for the only two remaining conflicting methods at this conjuncture to fully address #565 (for now).Minima
andMaxima
seem like reasonable names since both operators return sequences so the plural forms of minimum and maximum seem appropriate. ABy
suffix seems unnecessary as using these methods on scalar values is expected to be super rare and so requiring a key selector won't be a surprise for or inconvenient to most.MinBy
andMaxBy
should be marked obsolete and converted to regular static methods for .NET 6+ (as was done in #945).The text was updated successfully, but these errors were encountered: