rubikzube

software engineer ¤ yogi ¤ turban cowboy

Thursday, June 22, 2006

Just me and my colon

I was working the other day with the colon syntax for inheritance in .NET. I think that the way that colons are used to both inherit behavior from base classes and refer function calls to base class implementations is metaphorically elegant.

I also prefer referring to classes that one inherits from as base classes rather than super classes. It makes them sound like what they are, a foundation. The word super just has this qualitative value associated with it that I can’t seem to shake.

Thursday, June 15, 2006

Your mom is virtual

I have not paid enough attention the significance of the fact that methods in C# are not virtual by default. Come to think of it, if anyone knows of a paper that outlines the benefits of implicit versus explicit virtuality in language design, I would love to read it.