Ted Leung on the air
Ted Leung on the air: Open Source, Java, Python, and ...
Ted Leung on the air: Open Source, Java, Python, and ...
Mon, 22 Sep 2003
Anders on Virtual and Contracts
Artima has the latest interview with Anders Hjelsberg. The interview focuses on the meaning of virtual in C# vs Java. I'm not passionate one way or the other for things to be virtual by default.
The most interesting part is the second page where he talks about contracts. One of the things that I observed (along with others) at Taligent was that there weren't enough ways to make contracts explicit because there were lots of different kinds of contracts. So here he's talking about incoming and outgoing contracts, which you could call client, and overrider contracts. But when you are building frameworks, the number of contracts doubles for some classes, because you have client and overrider contracts for "users" of the framework, and client and overrider contracts for the internals of the framework itself (given sufficiently complicated frameworks, which we had).
[02:15] |
[computers/programming] |
# |
TB |
F |
G |
2 Comments |
You can subscribe to an RSS feed of the comments for this blog:
Add a comment here:
You can use some HTML tags in the comment text:
To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are:
You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk
To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are:
<a href>
, <em>
, <i>
, <b>
, <blockquote>
, <br/>
, <p>
, <code>
, <pre>
, <cite>
, <sub>
and <sup>
.You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk