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,699cc914522aa7c4 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!news2.arglkargh.de!noris.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Wasteful internationalization (Was: Structured exception information) From: Georg Bauhaus In-Reply-To: <1v3kaogkz3p05.krktib9iodz6$.dlg@40tude.net> References: <51p83bF1k9di7U1@mid.individual.net> <51rhs3F1m1jliU1@mid.individual.net> <1v3kaogkz3p05.krktib9iodz6$.dlg@40tude.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: # Message-ID: <1169813520.5976.15.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Date: Fri, 26 Jan 2007 13:12:00 +0100 NNTP-Posting-Date: 26 Jan 2007 13:12:00 CET NNTP-Posting-Host: a7d4c0b9.newsspool2.arcor-online.net X-Trace: DXC=iiX2>a4c=?4QbA1[CgMQ00A9EHlD;3Yc24Fo<]lROoR1Fl8W>\BH3Y2ahZne:7W?i=A:ho7QcPOV3VPnBPE:P_A?6oL[Xh_7Hm4 X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:8603 Date: 2007-01-26T13:12:00+01:00 List-Id: On Fri, 2007-01-26 at 10:13 +0100, Dmitry A. Kazakov wrote: > On Thu, 25 Jan 2007 15:57:29 -0600, Randy Brukardt wrote: > > This gave me a vision of a fully internationalized Ada program written in > > Cyrillic (or Chinese or Thai or ...). Just a mass of funny looking > > characters. Just imagine the portability! > > Oh, Ada could become much "better" here! > > German Excel (and I believe Russian as well) uses "," instead of "." in all > numbers. What a refreshing idea! For about half a year it was my daily job to extract numbers from handwritten Excel sheets for processing, without access to MS programming tools. An added challenge has been that their format changed every other week, and even in the same column of the same week. OTOH, Excel numbers aren't usually produced by programmers for programmers, so they are somewhat "human". And this is right, because it helps efficient human communication where this form of communication dominates. For another refreshing insight, have a look at the separators for groups of 10**3 in Switzerland, or consider calender date formats. But OTOH most programmers' *refuse* to add type to the most useless date: Pattern := Digit & Digit & Sep & Digit & Digit & Sep & Digit & Digit; Why is that? They could, for example, use ISO dates, or grammar based date formats for disambiguation: Hm. Maybe this is an opportunity to create a few instances of the new 2007 standard generic function Ada.Tags.Generic_Dispatching_Constructor -- georg