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, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c7ea1cb7a2beb2ee X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Disallowing Pre-Defined Operations Date: 2000/03/15 Message-ID: <8an0r0$r3e$1@nnrp1.deja.com>#1/1 X-Deja-AN: 597633343 References: <8a9eeg$qtv$1@newpoisson.nosc.mil> <38ce8e44@eeyore.callnetuk.com> X-Http-Proxy: 1.0 x23.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Mar 15 03:42:25 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-03-15T00:00:00+00:00 List-Id: In article <38ce8e44@eeyore.callnetuk.com>, "Nick Roberts" wrote: > I think you've answered your own question: you SHOULD use private types for > Time_Type and Delta_Time_Type. That way, not only do you get the control > over operations that you need, you also get an explicit statement of unit > for all your literals! Sure, this is quite familiar (and is in fact Ada 83), but in practice it is often awfully heavy to use this approach and lose literals. So it is nice to have an alternative approach. Sent via Deja.com http://www.deja.com/ Before you buy.