Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!postnews.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 16 Jul 2011 13:16:02 -0500 Date: Sat, 16 Jul 2011 11:15:59 -0700 From: Patricia Shanahan User-Agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: Arithmetic overflow checking References: <015aeb15-57db-48ab-9cd4-77f8448b632f@w24g2000yqw.googlegroups.com> <2rydnez7l-H5BYnTnZ2dnUVZ_vGdnZ2d@earthlink.com> <3282bfa8-227b-4590-a830-67d9df0a4d1c@t8g2000prm.googlegroups.com> In-Reply-To: <3282bfa8-227b-4590-a830-67d9df0a4d1c@t8g2000prm.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Lines: 34 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 70.230.204.13 X-Trace: sv3-f99fZHcZqneqL0DZ7ucMMK3Jenkm8TobzT1KnWxJ8GcEgKKfQ6gXJWTdMgBP63nTak3Be98T//RE/k0!1vGcGq4G/8eaPorHRCDw/x+fH5gmb60qcHi+uY85sg/fHipe9eVHQu0cZVEH0N7ZcfMhJFanjCBq!ynybfCEV9nm+9ZSfMb/NxpkX+ol94g1DYleQ9GxjcrSyyw== X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2761 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:6234 On 7/16/2011 11:00 AM, lewbloch wrote: > "MikeP" wrote: >> Patricia Shanahan wrote: >>> MikeP wrote: >>>> Patricia Shanahan wrote: >>>>> MikeP wrote: >>>>>> Patricia Shanahan wrote: >>>>>>> Write the application in Ada. >> >>>>>> But C# is very Java-like and has "checked" and also the >>>>>> compiler-level equivalent, so C# would be the better alternative. >>>>>> (And yes, I do know you were just kidding about Ada). >> >>>>> No, I was not really joking, though I did not attempt to find all >>>>> the languages that would meet the stated requirement. >> >>>> Don't look now, but if you weren't joking, then you recommended Ada >>>> to a Java programmer! Oh my. >> >>> Huh? Java, like any healthy programming language, is a tool, not a >>> religion. >> >> Just like a dentist's drill and an oil well [sic] drill are tools? >> > > Yes, exactly. Both of those are tools, and neither of those are > religions. And it would be just as pointless to complain about the dental drill taking too long to drill a thousand foot well as to complain about the oil well drill being too big to fit in a patient's mouth. It's much better to look at the job and pick the tool that is most suitable for it. Patricia