Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.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: Sat, 16 Jul 2011 15:41:34 -0500 Organization: A noiseless patient Spider Lines: 39 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: Sat, 16 Jul 2011 20:41:32 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="JFpB2gvi06BqMH/s1e1Gsw"; logging-data="25244"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1//npHyaG/OVuWayVJ6lLsI" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-RFC2646: Format=Flowed; Response X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 Cancel-Lock: sha1:jQ6FDVFfxUDyjyj0ndY6ne+uCmE= X-Priority: 3 X-MSMail-Priority: Normal Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:6237 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.