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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3cd94a799504cebd X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-16 15:22:43 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!unlnews.unl.edu!newsfeed.ksu.edu!nntp.ksu.edu!news.okstate.edu!not-for-mail From: David Starner Newsgroups: comp.lang.ada Subject: Re: Small question concerning use Date: 16 Oct 2001 21:26:20 GMT Organization: Oklahoma State University Message-ID: <9qi8ls$a2g1@news.cis.okstate.edu> References: <19130ae.0110151428.65937d5b@posting.google.com> <3BCC8AF0.A8B1115D@san.rr.com> Reply-To: dstarner98@aasaa.ofe.org NNTP-Posting-Host: x8b4e5435.dhcp.okstate.edu User-Agent: slrn/0.9.7.2 (Linux) Xref: archiver1.google.com comp.lang.ada:14755 Date: 2001-10-16T21:26:20+00:00 List-Id: On Tue, 16 Oct 2001 20:26:16 GMT, Ted Dennison wrote: >>I'd be bothered by such stuff less if it wasn't so repetitive. >>Ada.Streams.Stream_Element_Count instead of Ada.Streams.Count? >>How many times do I have to say "Unbounded" or "String"? > > Well, yes. You aren't missing anything, your observation is dead on. > Unfortunately the folks who wrote the Ada libraries "took sides" on this issue. > The best thing to do here is to take it as a constant reminder to yourself to > pick better names for your *own* packages and objects. The problem is, how? Ada.Streams.Count is un"use"able; it would conflict with other variables named Count (besides being just a bad name all around). How do you name a variable so it doesn't conflict with other names when "use"d, but doesn't do too much repetition. What should Ada.Streams.Stream_Element_Count have been named? (Count's just an awful name, anyway, even outside a "use" enviroment; a count of what?) -- David Starner - dstarner98@aasaa.ofe.org Pointless website: http://dvdeug.dhis.org "I saw a daemon stare into my face, and an angel touch my breast; each one softly calls my name . . . the daemon scares me less." - "Disciple", Stuart Davis