Re: Ada Interfaces and the Liskov Substitution Principle
- From: "Dmitry A. Kazakov" <mailbox@xxxxxxxxxxxxxxxxx>
- Date: Thu, 24 May 2007 15:41:41 +0200
On Thu, 24 May 2007 12:42:16 +0200, Georg Bauhaus wrote:
In fact, Eiffel has a relative, the assignment attempt
(written "?="). And the Eiffel arguments versus Liskov/Wing
are that the principles guiding program design should come
from the solution to a problem, not from models when these
cannot capture the solution. In a sense, it is argued that
that L/W substitution (and also co/contra-variance) violate
programming principles!
Actually [absolute] LSP violates common sense.
IF A were fully and unconditionally substitutable for B in all possible
contexts, then As and Bs would be equivalent in any thinkable sense.
Because then they would be indistinguishable without magic.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
.
- References:
- Ada Interfaces and the Liskov Substitution Principle
- From: Stefan Lucks
- Re: Ada Interfaces and the Liskov Substitution Principle
- From: Maciej Sobczak
- Re: Ada Interfaces and the Liskov Substitution Principle
- From: Randy Brukardt
- Re: Ada Interfaces and the Liskov Substitution Principle
- From: Maciej Sobczak
- Re: Ada Interfaces and the Liskov Substitution Principle
- From: Dmitry A. Kazakov
- Re: Ada Interfaces and the Liskov Substitution Principle
- From: Georg Bauhaus
- Ada Interfaces and the Liskov Substitution Principle
- Prev by Date: Re: Where is TASH, the Tcl/Tk binding?
- Next by Date: Re: Ada Interfaces and the Liskov Substitution Principle
- 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
|