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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4f316de357ae35e9 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-08-13 18:07:02 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newspeer.radix.net!uunet!ash.uu.net!world!news From: Robert A Duff Subject: Re: FAQ and string functions Sender: news@world.std.com (Mr Usenet Himself) Message-ID: Date: Wed, 14 Aug 2002 01:05:45 GMT References: <20020730093206.A8550@videoproject.kiev.ua> <4519e058.0207300548.15eeb65c@posting.google.com> <20020731104643.C1083@videoproject.kiev.ua> <4519e058.0208010629.5e6182ca@posting.google.com> <20020801194720.Q1080@videoproject.kiev.ua> <4519e058.0208020605.5ab7e092@posting.google.com> <3D4AAF63.72782659@san.rr.com> <3D4B2382.7030209@telepath.com> <3D4B2ACD.FDA29B9A@san.rr.com> <3D4B401E.3060802@telepath.com> <3D4B4477.500088B@san.rr.com> <3D4EA1AC.80D17170@s NNTP-Posting-Host: shell01.theworld.com Organization: The World Public Access UNIX, Brookline, MA X-Newsreader: Gnus v5.7/Emacs 20.7 Xref: archiver1.google.com comp.lang.ada:28000 Date: 2002-08-14T01:05:45+00:00 List-Id: "Randy Brukardt" writes: > I think your missing the Ada philosophy that something expensive should > look expensive. An unbounded array (as you put it) is going to be > expensive, and that expensive shouldn't be covered up in glossy syntax. IMHO, that philosophy is exactly the opposite of what high-level languages are all about. The parts of Ada that disobey this philosophy are the better parts. Here's an example: In Ada, one can write "A := B;". If they are integers, it's fast. If they are gigantic arrays, it could be a million times slower, or more. That's good -- assignment uses a single notation no matter how fast or slow. Contrast with C, where copying arrays uses a different syntax from copying ints. - Bob