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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,63a41ccea0fc803a X-Google-Attributes: gid103376,public From: Jean-Pierre Rosen Subject: Re: Naming of Tagged Types and Associated Packages Date: 1998/08/01 Message-ID: <35C2E4C9.35441249@wanadoo.fr>#1/1 X-Deja-AN: 377554480 Content-Transfer-Encoding: 8bit References: <6pdhfo$1br$1@platane.wanadoo.fr><6pi71p$n90$1@platane.wanadoo.fr><6ppc3q$8ju$1@platane.wanadoo.fr> <6ps2ne$hko$1@platane.wanadoo.fr> Content-Type: text/plain; charset=iso-8859-1 Organization: Adalog Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-08-01T00:00:00+00:00 List-Id: Robert I. Eachus a �crit: > > That's why I said we have to leave it here. My style of developing > in Ada 95 results in very few "open" types other than those where the > descendent types are defined by generic instantiation. Therefore, I > am the only person who sees inside the encapsulation. Jean-Pierre has > stated several times that he uses a more open style, and explicitly > designs expecting much more work to be done by the user of the type > rather than the creator. ??? I think I said in a previous message that the goal was to favour the *user* of a type against the *designer*... > Due to this difference in style, we will always reach different > conclusions about how naming should be done. Maybe I can talk > Jean-Pierre into my way of designing, but from experience, that is a > very slow process. Of course, we are discussing style here, so it's a matter of taste. As I mentionned before, I agree with you (and generally use) a "closed" style, and I try to keep inheritance as hidden as possible. However the purpose of this thread was to discuss a notation for those who want pure OO programming, and pure OO means a lot of visibility! Quoting Booch (from memory): "There is a very real tension between encapsulation and inheritence. To a large degree, inheritance exposes the secrets of the inherited class, sometimes including their inside view". -- ---------------------------------------------------------------------------- J-P. Rosen (Rosen.Adalog@wanadoo.fr) Visit Adalog's web site at http://perso.wanadoo.fr/adalog