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=unavailable autolearn_force=no version=3.4.4 Path: buffer1.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: casting types Date: Wed, 01 Oct 2014 11:11:22 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <75969a22-d7f7-4517-9d10-6224beb3318c@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Wed, 1 Oct 2014 18:11:24 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="2cce0a40174b83136a5e3a34df5b5ee7"; logging-data="11608"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/UNVoK6vEU5aKtWaGk1xVaq44iz8cU/yE=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 In-Reply-To: <75969a22-d7f7-4517-9d10-6224beb3318c@googlegroups.com> Cancel-Lock: sha1:nUSAYJn4Z/jfmGNJXTkgA2MgKhI= Xref: number.nntp.giganews.com comp.lang.ada:189287 Date: 2014-10-01T11:11:22-07:00 List-Id: On 10/01/2014 06:55 AM, Stribor40 wrote: > Is there any other data type? In Ada, the question shouldn't be "Is there any other data type?" (or "Which language-defined type should I use?"), but rather "What type should I declare for these values?" Ada is unique among mainstream languages in allowing the developer to declare numeric types that reflect the problem domain, and McCormick found this to be part of the most important reason ("Modeling of scalar objects") why his students succeeded with Ada. http://www.crosstalkonline.org/storage/issue-archives/2000/200008/200008-McCormick.pdf -- Jeff Carter "I'm a kike, a yid, a heebie, a hook nose! I'm Kosher, Mum! I'm a Red Sea pedestrian, and proud of it!" Monty Python's Life of Brian 77