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-Thread: 103376,8c0fcfc0a87e61fc X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!goblin2!goblin.stu.neva.ru!aioe.org!not-for-mail From: "Nasser M. Abbasi" Newsgroups: comp.lang.ada Subject: Re: simple question on long_float/short_float Date: Thu, 30 Sep 2010 11:22:29 -0700 Organization: Aioe.org NNTP Server Message-ID: References: Reply-To: nma@12000.org NNTP-Posting-Host: tUYQ4Ty9mMw9Pdc8TJRFQA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.12) Gecko/20100914 Thunderbird/3.0.8 Xref: g2news1.google.com comp.lang.ada:14338 Date: 2010-09-30T11:22:29-07:00 List-Id: On 9/30/2010 8:37 AM, Jeffrey Carter wrote: > In most languages (other than Ada), you have to use the numeric types provided > by the language, and select the types that are the closest fit to the > requirements of the problem. This is part of what is known as "translating the > problem into the solution space", which makes the software harder to understand, > since the reader has to understand both the problem and the translation chosen. > > In Ada, one can declare numeric types to match the requirements of the problem. > This is part of what is known as "modeling the problem in the software", which > is intended to make the software easier to understand, since there is no > translation from problem to solution space to understand. > This really opened my eyes to a very good point that I did not think of. You are 100% right. Very well said. --Nasser