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,a0be06fbc0dd71f1 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!newsdst01.news.prodigy.net!prodigy.com!postmaster.news.prodigy.com!nlpi061.nbdc.sbc.com.POSTED!cfe18fef!not-for-mail From: Gary Scott Organization: Home User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: The future of Ada is at risk References: <20071229040639.f753f982.coolzone@it.dk> <13oe680qard6u2d@corp.supernews.com> <47887709.9030107@obry.net> <47889568.3010507@obry.net> In-Reply-To: <47889568.3010507@obry.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Message-ID: NNTP-Posting-Host: 68.94.27.98 X-Complaints-To: abuse@prodigy.net X-Trace: nlpi061.nbdc.sbc.com 1200159857 ST000 68.94.27.98 (Sat, 12 Jan 2008 12:44:17 EST) NNTP-Posting-Date: Sat, 12 Jan 2008 12:44:17 EST X-UserInfo1: T[O]R^OGLBUUSWTXZBND]_\@VR]^@B@MCPWZKB]MPXH@ETUCCNSKQFCY@TXDX_WHSVB]ZEJLSNY\^J[CUVSA_QLFC^RQHUPH[P[NRWCCMLSNPOD_ESALHUK@TDFUZHBLJ\XGKL^NXA\EVHSP[D_C^B_^JCX^W]CHBAX]POG@SSAZQ\LE[DCNMUPG_VSC@VJM Date: Sat, 12 Jan 2008 11:43:44 -0600 Xref: g2news1.google.com comp.lang.ada:19352 Date: 2008-01-12T11:43:44-06:00 List-Id: Pascal Obry wrote: > Brian May a �crit : > >> They require careful design. If abused, e.g. if you use two many >> types, you end up constantly casting from one type to another, and you >> miss the benefits. > > > Ok, but this is true for software design in general. Over-abusing > anything is never a good idea. That does not even apply to software only > :) But a good design using types and subtypes or derived types (no > casting required) avoid many mistakes! > > All integers seems easy, feel easy but it betray you as soon as possible! Using a properly structured naming convention is superior to defining a new datatype that is internally identical with dozens of other types but with a different name. It is especially disastrous in mixed language programming to use too many non-unique data types. The research necessary to discover the interface is enormous. > > Pascal. > -- Gary Scott mailto:garylscott@sbcglobal dot net Fortran Library: http://www.fortranlib.com Support the Original G95 Project: http://www.g95.org -OR- Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html If you want to do the impossible, don't hire an expert because he knows it can't be done. -- Henry Ford