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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c4f3d9c0fed1bd8f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed.arcor.de!news.arcor.de!not-for-mail Date: Mon, 12 Dec 2005 19:58:05 +0100 From: Georg Bauhaus Organization: future apps GmbH User-Agent: Debian Thunderbird 1.0.2 (X11/20051002) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Classes and packages - recommended practice References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <439dc83c$0$27888$9b4e6d93@newsread4.arcor-online.net> NNTP-Posting-Date: 12 Dec 2005 19:58:04 MET NNTP-Posting-Host: 7db96261.newsread4.arcor-online.net X-Trace: DXC=lTKj\SLkn0349B_U7Ob821:ejgIfPPld4jW\KbG]kaM8FYk:AnJB[C=dEWkcJd^X91UUng9_FXZ=3>:=P9Ihe`B8@Z?dZ]MOid5 X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:6852 Date: 2005-12-12T19:58:04+01:00 List-Id: Maciej Sobczak wrote: > with Shapes; > use Shapes; [lots more] > My question is - when do you use which form? I'll rarely use all types from all packages in the same place when possible, because I want to leave that to the dispatching mechanism. :-) So this is not the most frequent case. That aside, I'm fond of plural/singular because of locality of reference: "Object" doesn't say much compared to "Triangle", and forces some form of qualification if you don't want to bother your readers with doing the lookup themselves. OTOH, in Ada 2005, we won't need so many "use"s because of distinguished receiver notation... -- Georg