Saturday, December 07, 2002


Delegates.

Somebody please educate me. Why were delegates rejected again? Was it in favor of inner classes? Inner classes are pretty cool -- don't get me wrong. I like'em fine. But functional types (I just don't feel like calling them delegates) are pretty damn useful too. Each has its place. I need to go do some digging and find out why the argument went the way that it did. As I recall, Anders Hejlsberg (of Delphi and C# fame) wanted functional types. He had them in Delphi, and he has them in C#. He's right. You need them for stuff. Inner classes make some stuff easier, but make some stuff harder.

There's room for both. I wish Sun would make it.
12:05:14 AM