From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fee8802cc3d8334d X-Google-Attributes: gid103376,public X-Google-Thread: 10a146,fee8802cc3d8334d X-Google-Attributes: gid10a146,public From: Marin David Condic Subject: Re: Ada and Java. different behaviour. casting long to int problem. Date: 1999/06/16 Message-ID: <3767BBD0.BCF77FE2@pwfl.com>#1/1 X-Deja-AN: 490280115 Content-Transfer-Encoding: 7bit Sender: condicma@bogon.pwfl.com References: <7jt2c0$vrb@drn.newsguy.com> <7k57vb$1ipf@drn.newsguy.com> <3766650F.705125B7@pwfl.com> <7k64t7$igo$1@its.hooked.net> <7k689a$ci2@drn.newsguy.com> <3766C842.E1EAB60A@pwfl.com> <3766D1CC.D712895E@itools.symantec.com> Content-Type: text/plain; charset=us-ascii Organization: Pratt & Whitney Mime-Version: 1.0 Reply-To: diespammer@pwfl.com Newsgroups: comp.lang.ada,comp.lang.java.programmer Date: 1999-06-16T00:00:00+00:00 List-Id: D'Arcy Smith wrote: > > If your sent into a room that is full of pins sticking up from the > floow - and you are tole that it is full of pins - and you run into > the room with your eyes closed then it is 100% your fault. > > Could the language be defined differently to point out overflow > erorrs? Sure. > > Ignorance of the language spec is not an excuse. Ignoring the > language spec is idiocy. > At the risk of repeating myself... (what the heck? I like the sound of my own voice! :-) The assigning of 100% of the fault to me for ignoring the warning may be an interesting point in assessing damages in a court of law. However, my feet are still going to be bleeding rather badly and the whole experience will have emotionally warped me for life. Assigning blame is *not* going to make that go away. Hence my point is that issuing RTFM warnings and calling the non-reader of the manual incompetent is an exercise in futility. If a thing is dangerous and likely to cause trouble because of ingenious idiots and the terminally incompetent, then there should be designed into the process ways of preventing idiots from cutting themselves with sharp objects or burning themselves with hot coffee. You can't eliminate the idiots, but you can eliminate (or at least mitigate) the opportunities they have to shoot themselves in the foot. MDC -- Marin David Condic Real Time & Embedded Systems, Propulsion Systems Analysis United Technologies, Pratt & Whitney, Large Military Engines M/S 731-95, P.O.B. 109600, West Palm Beach, FL, 33410-9600 ***To reply, remove "bogon" from the domain name.*** Visit my web page at: http://www.mcondic.com/