Archive for March 2002

 
 

C# Compiler Idiocy

God, the C# compiler is stupid. Every time I overload the operator == for a class, it immediately complains that I also need to overload the operator !=, the Equals() method, and the GetHashCode() method.

Why can’t it implement the operator != and the Equals method by itself? That should be trivial.

And don’t get me started on the GetHashCode() method! I don’t want to implement this method in classes which are not going to be used as hash table keys, yet by putting it in the class Object the language designers are effectively making me do so. Why couldn’t they have defined an interface called IHashKey to be implemented by whoever is interested in acting as a hash key?

Why Microsoft Wins

Did you notice how Microsoft is hiring the industry top guns? They just hired Herb Sutter, the last editor of the now defunct C++ Report and the author of Exceptional C++. Before that they hired Don Box, one of the authors of SOAP and a COM guru. And last year they hired Stan Lippman, the previous editor of C++ Report.

At the same time the employee list of Microsoft Research reads like Who’s Who in Functional Programming.

So next time Sun, Netscape and others start whining about Microsoft eating their lunch, they should instead ask themselves why they aren’t investing in the best people money can buy.