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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham 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!news1.google.com!news.glorb.com!news.mv.net!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Ada Interfaces and the Liskov Substitution Principle Date: Thu, 24 May 2007 18:08:05 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <1179953657.839272.160320@a26g2000pre.googlegroups.com> <1179991769.376381.252010@m36g2000hse.googlegroups.com> <12h6mi42jcha0.7f9vfsnihjwr$.dlg@40tude.net> <1180011507.159515.46920@o5g2000hsb.googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1180044489 13361 192.74.137.71 (24 May 2007 22:08:09 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Thu, 24 May 2007 22:08:09 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:Zq4W9OG3YRlkBmMX2i+Y8a7dHyU= Xref: g2news1.google.com comp.lang.ada:15923 Date: 2007-05-24T18:08:05-04:00 List-Id: Maciej Sobczak writes: > You can do this either with access variables or with initialization of > class wide type (which is *not* an assignment). Well, actually, in Ada terminology, an initialization is an assignment. There are two kinds of assignment: initialization, and assignment_statement. I don't particularly like that terminology, but it's what the RM says. > I was talking about real assignment ... You're talking about an assignment_statement. Best to stick to the terms "initialization" and "assignment_statement" to avoid confusion. And avoid the term "assignment" entirely. ;-) I'm just nitpicking your terminology -- I agree with your point that there's a big difference between initialization (which creates a new object out of whole cloth) and assign_stm (which overwrites the left-hand side). - Bob