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,3dbf2f325f33ce35 X-Google-Attributes: gid103376,public From: Ted Dennison Subject: Re: Elimination of "use" clauses Date: 1999/07/19 Message-ID: <7mvo33$2je$1@nnrp1.deja.com>#1/1 X-Deja-AN: 502773737 References: <377B5807.88B875E0@cs.york.ac.uk> <7lh74s$v36$1@nnrp1.deja.com> <7ligdq$c8q$1@nnrp1.deja.com> <7ljb4e$na9$1@nnrp1.deja.com> <7ltus1$ah1@dfw-ixnews19.ix.netcom.com> <7mrjus$bet@dfw-ixnews14.ix.netcom.com> <7mvcak$tdu$1@nnrp1.deja.com> <37934672.E401493E@averstar.com> X-Http-Proxy: 1.0 x30.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Mon Jul 19 17:43:01 1999 GMT X-MyDeja-Info: XMYDJUIDtedennison Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.6 [en] (WinNT; I) Date: 1999-07-19T00:00:00+00:00 List-Id: In article <37934672.E401493E@averstar.com>, Tucker Taft wrote: > Ted Dennison wrote: > > Ohhhhh. I *like* that idea. Currently "use type" seems a bit sloppy. > > I can't think of a type where "<" is appropriate but ">" is not. > Can you give a realistic example? This seems like overkill, > IMHO. Well...no. My angle on this was that as a developer I much prefer explicitly stating what I'm getting from where. Using full dot notation for packages is part of that. In the case of "use type", I'd feel a lot better saying which routines I need, rather that using a construct that in effect says, "give me all the operations, whatever they may be." But you are right. I can't think of a good example where getting "=" would be fine, but I don't want "-". Perhaps my Modula-2 bias is just acting up again. (I'd better get that checked...) -- T.E.D. Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.