One of the most awaited features of Microsoft .NET 2.0 is generics. Generics promise to increase type safety, improve performance, reduce code duplication and eliminate unnessecary casts. The most obvious application of generics in the framework class library are the generic collections in the new System.Collections.Generic namespace. Much has been written about those, but they are not the topic of this article.
Permalink for comment
To read all comments associated with this story, please click here.
Hopefully Anders and Co. will address this deficiency before they ship C# 2.0 final.
But if they don't, then what will the Mono guys do? Fix this "bug" by adding something like the IArithmetic interface even though .NET doesn't have such a fix? Or leave something broken just because Microsoft's implementation is broken? In a way, this could prove to be an interesting test of the relationship between Mono and .NET.
Nice catch. Thanks for the nice writeup.
Hopefully Anders and Co. will address this deficiency before they ship C# 2.0 final.
But if they don't, then what will the Mono guys do? Fix this "bug" by adding something like the IArithmetic interface even though .NET doesn't have such a fix? Or leave something broken just because Microsoft's implementation is broken? In a way, this could prove to be an interesting test of the relationship between Mono and .NET.