From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,2ff5c149712ec0eb X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!a26g2000pre.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: Ada Interfaces and the Liskov Substitution Principle Date: 23 May 2007 13:54:17 -0700 Organization: http://groups.google.com Message-ID: <1179953657.839272.160320@a26g2000pre.googlegroups.com> References: NNTP-Posting-Host: 85.3.234.127 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1179953715 24746 127.0.0.1 (23 May 2007 20:55:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 23 May 2007 20:55:15 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.1) Gecko/20060317 Firefox/1.5.0.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: a26g2000pre.googlegroups.com; posting-host=85.3.234.127; posting-account=Ch8E9Q0AAAA7lJxCsphg7hBNIsMsP4AE Xref: g2news1.google.com comp.lang.ada:15893 Date: 2007-05-23T13:54:17-07:00 List-Id: On 23 Maj, 21:47, Stefan Lucks wrote: > to me, it seems as if Ada 2005 is bluntly violating the Liskov > Substitution Prinicple. E.g., define [...] Interesting. My humble opinion: assignment of class-wide types should be prohibited in the first place. I mean - at compile time. It's just asking for troubles. -- Maciej Sobczak http://www.msobczak.com/