Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.linkpendium.com!news.linkpendium.com!newsfeeds.ihug.co.nz!lust.ihug.co.nz!ihug.co.nz!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.lang.java.programmer Subject: Re: char to decimal Followup-To: comp.lang.java.programmer Date: Fri, 06 May 2011 18:43:30 +1200 Organization: Geek Central Lines: 25 Message-ID: References: <92ea64F3avU1@mid.individual.net> <9pednRnBeuxtPF_QnZ2dnUVZ_uGdnZ2d@earthlink.com> <4dc39812$0$8415$426a74cc@news.free.fr> NNTP-Posting-Host: 118-92-95-178.dsl.dyn.ihug.co.nz Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: lust.ihug.co.nz 1304664210 20287 118.92.95.178 (6 May 2011 06:43:30 GMT) X-Complaints-To: abuse@ihug.co.nz NNTP-Posting-Date: Fri, 6 May 2011 06:43:30 +0000 (UTC) User-Agent: KNode/4.4.7 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:3645 In message <4dc39812$0$8415$426a74cc@news.free.fr>, Mayeul wrote: > On 06/05/2011 01:49, Lawrence D'Oliveiro wrote: > >> In message, Joshua Cranmer wrote: >> >>> On 05/05/2011 09:59 AM, Lawrence D'Oliveiro wrote: >>> >>>> In message<9pednRnBeuxtPF_QnZ2dnUVZ_uGdnZ2d@earthlink.com>, Patricia >>>> Shanahan wrote: >>>> >>>>> There is a strong natural association between a character and the >>>>> numeric value of its Unicode representation. There are several >>>>> different ways of mapping between the two Boolean values and integers >>>>> ... >>>> >>>> Only one “strong natural association”, though. >>> >>> 0,1; 1, -1; and 0, -1 all have arguments for their use. >> >> One of them is more useful than the others. > > Says who, which one, on what grounds, and what do you make of the swaps? I gave some examples previously—go look them up.