Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsfeed.utanet.at!newscore.univie.ac.at!aconews-feed.univie.ac.at!aconews.univie.ac.at!not-for-mail Newsgroups: comp.lang.java.programmer From: Andreas Leitgeb 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> Reply-To: avl@logic.at User-Agent: slrn/pre0.9.9-111 (Linux) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: Date: 16 Jul 2011 23:18:58 GMT Lines: 41 NNTP-Posting-Host: gamma.logic.tuwien.ac.at X-Trace: 1310858338 tunews.univie.ac.at 89734 128.130.175.3 X-Complaints-To: abuse@tuwien.ac.at Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:6240 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.