|
|
Darren New wrote:
> Invisible wrote:
>> ....so they implemented Java's flawed MI-but-not-MI model? How is that
>> fixing the flaws from other major programming languages?
>
> Probably fixing what they saw as flawed MI in C++. :-)
Hmm, yeeeeessss.......
> Me, I like the Common Lisp object system.
Me, I dislike anything that says "Lisp" in it. :-S
>> Ever tried to use multiple inheritance in Eiffel?
>
> I used Eiffel a bit. I kind of gave it up when the compiler for this
> language which is supposed to support extreme correctness couldn't
> compile the hello world program that was the skeleton project the IDE
> created for you when you start a new project.
I gave up when the language libraries were so obviously stupid...
>> Since I am presumably the only person here who has ever heard of
>> Eiffel, let me go over it.
>
> Nah. I used it for a bit.
That's a miracle. It's a pretty rare language...
>> Suppose that class A inherits from classes B and C, which themselves
>> inherit from D. Suppose that D defines an attribute called, say,
>> banana. That means that B and C each have a copy of banana. In A,
>> these two copies are automatically merged by default.
>> Alternatively, you can rename one (or both) copies to something else.
>
> Did they ever actually implement this? It's how it's *supposed* to work,
> but never did, IME.
Didn't try it personally, no. But that's what the language spec says.
(IIRC it's an ISO standard now or something?)
Note that Eiffel Studio isn't the only implementation. There's Smart
Eiffel (AKA Small Eiffel) that reguarly does quite well in the language
shootout benchmarks... But either way, the libraries are very poor.
[E.g., Eiffel provides strong generics support with a whole heap of
infrastructure to support writing really generic code. So they designed
one class for character I/O, and a completely unrelated one for binary
I/O. GAH! >_< Why?!]
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
|