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-7-bit X-Google-Thread: 103376,9afe16648c0a7435 X-Google-Attributes: gid103376,public From: fraser@sinopsis.com Subject: Re: Problem Compiling with GNAT Date: 1999/03/16 Message-ID: <7ck8pk$2co$1@remarQ.com>#1/1 X-Deja-AN: 455433688 References: <7cj6nt$rvh$1@nnrp1.dejanews.com> <7cjm4g$avo$1@nnrp1.dejanews.com> X-Complaints-To: newsabuse@remarQ.com X-Trace: 921544308 KZBGBQC4S164892E1C usenet52.supernews.com Organization: Vegetarian Ada Programmers Newsgroups: comp.lang.ada Originator: fraser@titanic Date: 1999-03-16T00:00:00+00:00 List-Id: paene lacrimavi postquam Larry scribavit: >In article , >> "Class" is a horrible choice for the name of a type. Why don't you just >> name the type "Fire_Mission"? >I agree. I inherited this code, don't understand it yet, and am trying to get >as much of it to compile as possible with minimum changes. Actually, >Fire_Mission is the name of one package in which a type Class is defined. I remember reading somewhere (might have been an article on adahome, can't remember) about a coding, uh, paradigm for want of a better word, which created a class hierarchy using child pacakages to define names, and having exactly one tagged type per (leaf) child package, which is always called 'Object' or 'Class' or 'Instance' or whatever. I tried it and didn't like it (and I didn't inhale either). However, what I've found lately is that the idea of defining exactly one tagged type in each package seems valuable. It makes packages small, and maintenance easier. Well, it has so far. We'll see. Fraser. (change i's to y's to get my real email address)