Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: "MikeP" Newsgroups: comp.lang.java.programmer Subject: Re: Arithmetic overflow checking Date: Sun, 17 Jul 2011 00:30:54 -0500 Organization: A noiseless patient Spider Lines: 46 Message-ID: References: <015aeb15-57db-48ab-9cd4-77f8448b632f@w24g2000yqw.googlegroups.com> <2rydnez7l-H5BYnTnZ2dnUVZ_vGdnZ2d@earthlink.com> <3282bfa8-227b-4590-a830-67d9df0a4d1c@t8g2000prm.googlegroups.com> Injection-Date: Sun, 17 Jul 2011 05:30:46 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="JFpB2gvi06BqMH/s1e1Gsw"; logging-data="26000"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+OeXQdMyX0YIfY0aUp5Qqo" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-RFC2646: Format=Flowed; Original X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 Cancel-Lock: sha1:2+Xe8jPsSniy8yLI/oVOfh4zHC0= X-Priority: 3 X-MSMail-Priority: Normal Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:6241 Andreas Leitgeb wrote: > MikeP wrote: >> Patricia Shanahan wrote: >>> 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. >> I found it bizarre that you recommended an oil well drill to a >> dentist. > > That's just, because the dentist expressed a need to exploit the oil > well in his backyard. He did not. He wanted to provide better care to his patients.