中国开发网: 论坛: 程序员情感CBD: 贴子 132540
pinxue: 典型的断章取义,尤其令人生厌的是还不注明引用名人名言的出处
A delegation-only language
Venners: When asked what you might do differently if you could recreate Java, you've said you've wondered what it would be like to have a language that just does delegation.

Gosling: Yes.

Venners: And we think you mean maybe throwing out class inheritance, just having interface inheritance and composition. Is that what you mean?

Gosling: In some sense I don't know what I mean because if I knew what I meant, I would do it. There are various places where people have completed delegation-like things. Plenty of books talk about style and say delegation can be a much healthier way to do things. But specific mechanisms for how you would implement that tend to be problematic. Maybe if I was in the right mood, I'd blow away a year and just try to figure out the answer.

...

http://www.javaworld.com/javaworld/javaone01/j1-01-gosling-p2.html

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录