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,edafb2ab7e8839bc X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!attbi_s72.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" Organization: jrcarter at acm dot org User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Char type verification References: <1163628033.606530.190550@i42g2000cwa.googlegroups.com> <1163627827.1632.10.camel@localhost.localdomain> <1163632532.101867.123200@m73g2000cwd.googlegroups.com> <455cf4f8$0$17901$426a74cc@news.free.fr> <1163777588.040478.79300@b28g2000cwb.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s72 1163793395 12.201.97.213 (Fri, 17 Nov 2006 19:56:35 GMT) NNTP-Posting-Date: Fri, 17 Nov 2006 19:56:35 GMT Date: Fri, 17 Nov 2006 19:56:35 GMT Xref: g2news2.google.com comp.lang.ada:7539 Date: 2006-11-17T19:56:35+00:00 List-Id: Dennis Lee Bieber wrote: >> > And none of those, to my knowledge, inflicts literal one-to-one > constructs; they all tend to use common idiom's of the target language. > Digging up 22 year old high-school French for example... "My name is > xyz" is NOT translated into "moi appel est xyz", but rather to "je > m'appel xyz" (literal "I my name xyz"). Literally, "My name is Xyz" would be "Mon nom est Xyz", and "Je m'appelle Xyz" is "I call myself Xyz." > And, as mentioned above, the "problem" we saw upon reading your code > was simply "identify if is an uppercase character", and the > solution to /that/ problem is the simple "x in 'A'..'Z'" structure. Later he talked about checking for inclusion in a non-contiguous range, but never did he say anything about why he did odd things such as making unnecessary conversions. Perhaps we should simply have said that there is no Obfuscated Ada contest. -- Jeff Carter "Beyond 100,000 lines of code you should probably be coding in Ada." P. J. Plauger 26