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,aef01dc1d0a3a8bd X-Google-Attributes: gid103376,public From: kilgallen@eisner.decus.org (Larry Kilgallen) Subject: Re: Dummy Date: 2000/02/03 Message-ID: <2000Feb3.103443.1@eisner>#1/1 X-Deja-AN: 581125977 References: <387b154a.3533365@newsread.albacom.net> <3898C380.BC01EC03@earthlink.net> X-Trace: news.decus.org 949592088 11245 KILGALLEN [216.44.122.34] Organization: LJK Software Reply-To: Kilgallen@eisner.decus.org.nospam Newsgroups: comp.lang.ada Date: 2000-02-03T00:00:00+00:00 List-Id: In article , Hyman Rosen writes: > Charles Hixson writes: >> Java is more Object Oriented than Ada is, but less type safe. >> (Those casts are a really bad idea that is carried forwards from C.) > > Java casts are always perfectly safe. Casts between object types are > akin to C++'s dynamic_cast, in that they are type-checked at runtime > and will fail if the cast is not valid. To me "perfectly safe" does not allow "fail at runtime". Presumably "Spark for Java" would disallow this.