Re: Ada Interfaces and the Liskov Substitution Principle
- From: Pascal Obry <pascal@xxxxxxxx>
- Date: Thu, 24 May 2007 20:51:20 +0200
Dmitry A. Kazakov a écrit :
On Thu, 24 May 2007 20:27:25 +0200, Pascal Obry wrote:
Randy Brukardt a écrit :
Right. The most general type of interface is a limited interface; everyWell a task type is limited by default, idem for a protected object types.
interface should be declared limited if possible. (We didn't make that the
default solely because it would be inconsistent with the rest of the
language.)
Randy probably meant that If it were limited then one would need to
introduce "not limited" qualifier to be able to declare a non-limited
interface. (In addition to awful "not null")
Yep, reading the message again I think you're right.
Thanks,
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
.
- References:
- Ada Interfaces and the Liskov Substitution Principle
- From: Stefan Lucks
- Re: Ada Interfaces and the Liskov Substitution Principle
- From: Ludovic Brenta
- Re: Ada Interfaces and the Liskov Substitution Principle
- From: Randy Brukardt
- Re: Ada Interfaces and the Liskov Substitution Principle
- From: Pascal Obry
- Re: Ada Interfaces and the Liskov Substitution Principle
- From: Dmitry A. Kazakov
- Ada Interfaces and the Liskov Substitution Principle
- Prev by Date: Re: Ada Interfaces and the Liskov Substitution Principle
- Next by Date: Re: gnat-gpl-2007: mlib-tgt problem
- Previous by thread: Re: Ada Interfaces and the Liskov Substitution Principle
- Next by thread: Re: Ada Interfaces and the Liskov Substitution Principle
- Index(es):
Relevant Pages
|