Re: OOP Language for OS Development
From: Thomas Gagné (tgagne_at_wide-open-west.com)
Date: 05/05/04
- Next message: Bill Seurer: "Re: [OT] Challenge response."
- Previous message: Ged: "Re: OOP Language for OS Development"
- In reply to: Ged: "Re: OOP Language for OS Development"
- Next in thread: Ged: "Re: OOP Language for OS Development"
- Reply: Ged: "Re: OOP Language for OS Development"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 05 May 2004 08:28:47 -0400
Ged wrote:
>Hyman Rosen <hyrosen@mail.com> wrote in message news:<3AFic.17011$eK3.5247@nwrdny01.gnilink.net>...
>
>
>>[...]
>>If the template happens to work for
>>some class that doesn't conform to T, why should it be prevented from doing
>>so?
>>
>>
>>
>Because in Eiffel its all about the contract.
>
>When the interface accepts paramaters to conform to T the objects
>author is taking on a responsibility to ensure that the feature will
>always accept a paramater that conforms to T. The compiler will do
>everything it can to help the author meet that commitment.
>
>
What' the difference between that and any other statically type-checked
language? Does the compiler remember what the programmer said the type
was and complain if they change it?
-- .tom remove email address' dashes for replies opensource middleware at <http://isectd.sourceforge.net> <http://gagne.homedns.org/~tgagne/>
- Next message: Bill Seurer: "Re: [OT] Challenge response."
- Previous message: Ged: "Re: OOP Language for OS Development"
- In reply to: Ged: "Re: OOP Language for OS Development"
- Next in thread: Ged: "Re: OOP Language for OS Development"
- Reply: Ged: "Re: OOP Language for OS Development"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|