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,7b5b3c67aa2a73fe X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.maxwell.syr.edu!panix!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Easy question about Character manipulation Date: Tue, 30 Jan 2007 16:39:23 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <1170100860.762334.13830@l53g2000cwa.googlegroups.com> <45bf39fd$1@news.post.ch> <1w9na0flf7izk.10870qhe6k9rg$.dlg@40tude.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1170193163 31316 192.74.137.71 (30 Jan 2007 21:39:23 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Tue, 30 Jan 2007 21:39:23 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:UrpMxMSf0oE7ileg1tpDIPJ4Osc= Xref: g2news2.google.com comp.lang.ada:8750 Date: 2007-01-30T16:39:23-05:00 List-Id: "Dmitry A. Kazakov" writes: > On Tue, 30 Jan 2007 15:24:45 -0500, Robert A Duff wrote: > >> "Jeffrey R. Carter" writes: >> >>> Let me emphasize: >>> >>> Size : constant := 10; >>> >>> There's no reason for Size to be an object, much less a variable. >> >> I agree that it should probably be constant, but why not give it a type, >> as in: >> >> Size : constant Integer := 10; >> >> I think named numbers are a kludge, and should usually be avoided. > > I would agree if Universal_Integer were a proper type name. Integer tells > too much. Well, Universal_Integer is just Root_Integer'Class. But I agree, they should have names. Actually, the name for Root_Integer should be Integer. And the name for Standard.Integer should be Not_Standard_At_All.Machine_Integer. ;-) - Bob