Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!216.196.98.144.MISMATCH!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: Updating code from jdk1.2 to recent jdk SE 1.6 Date: Tue, 10 Jul 2012 12:56:00 -0700 (PDT) Organization: http://groups.google.com Lines: 43 Message-ID: References: <725fbc58-fab7-4e70-9f1a-b2e393fdeca9@googlegroups.com> <539uc9-7jg.ln1@luuk.invalid.lan> NNTP-Posting-Host: 69.28.149.29 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1341950277 2841 127.0.0.1 (10 Jul 2012 19:57:57 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 10 Jul 2012 19:57:57 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=69.28.149.29; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T User-Agent: G2/1.0 Xref: csiph.com comp.lang.java.programmer:15925 Luuk wrote: > Lew wrote: > Luuk wrote: > >> On 10-07-2012 20:26, Lew wrote: > >> &gt; Sanny wrote: > >> &gt;&gt; Well I had a program/ Applet in Java 1.2 I want to migrate the code to Java 1.6 > >> &gt; > >> &gt; It should be forward compatible. > >> &gt; > >> > >> I think the proper way to say this is: > >> The newer version is backwards compatible > > > > Which is more correct - the car is moving faster than the pedestrian, > > or the pedestrian is moving slower than the car? > > > > Since the OP asked about his Applet, the antecedent for "it" was > > the program, which would be *forward* compatible with Java 6. > > > > If we had been talking about Java 6, the proper way to say > > that would have been *backward* compatible, not backward*s* > > compatible. > > > > To correct someone, you must yourself be correct. > > > > > Forward compatible does not exist, And yet most Java 1.2 code is forward compatible with Java 6. Wonders never cease. > Because one can never know what next version does. > or how it behaves.... But one does know how Java 6 behaves with respect to Java 1.2 code. Maybe there is one who can never know that, but the rest of us do. -- Lew