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,b023521659e212ce X-Google-Attributes: gid103376,public From: "W. Wesley Groleau x4923" Subject: Re: Units Checking is Ada - Solicitation of Comments on Standard Proposal Date: 1997/08/08 Message-ID: <33EAA285.3268@pseserv3.fw.hac.com>#1/1 X-Deja-AN: 262796077 Sender: usenet@most.fw.hac.com (News Administration) References: <33E80CA8.3DEC@erols.com> <33E9CDA9.645A51BB@elca-matrix.ch> X-Nntp-Posting-Host: sparc02 Organization: Hughes Defense Communications Newsgroups: comp.lang.ada Date: 1997-08-08T00:00:00+00:00 List-Id: > I had a quick look at it. I don't like the fact that operations are in the > separate (sub)package SI.Ops, because they are not part of the primitive > profile of the type Unit. > > So , if you derive the type, the operations are not derived, and you cannot do > use type SI.Unit; > to get direct access to the operators. That's an excellent objection. However, why would you derive these types? It's designed to ensure only safe mixing of dimensioned values. One might like to derive or subtype in order to limit ranges, but the design of the package prevents that--another objection. -- ---------------------------------------------------------------------- Wes Groleau, Hughes Defense Communications, Fort Wayne, IN USA Senior Software Engineer - AFATDS Tool-smith Wanna-be Don't send advertisements to this domain unless asked! All disk space on fw.hac.com hosts belongs to either Hughes Defense Communications or the United States government. Using email to store YOUR advertising on them is trespassing! ----------------------------------------------------------------------