Re: GoTo in Java
- From: "Richard" <riplin@xxxxxxxxxxxx>
- Date: 27 Jan 2006 11:38:03 -0800
> Someone else then translates it to
> C++. Then I come back, and notice there's a C++ version now. I tell my IDE
> to translate it to Java, and get something not too bad. I can clean it up a
> bit, and add it to the docs too.
While that mechanism may be a nice toy for learning different languages
it would be useless for production code. Who is going to ensure that
your 'cleaned up' Java now works the same as the Fortran code. If a
change is made to the C++ how does the Java get the same change.
In may examples what is the Java equivalent of 'for record in file:' ?
It is several lines of class methods and a while loop. If the Java is
modified then how could it ever get back to being just the one line ?
Source code translations have been tried for several decades and they
just don't work. For example you cannot translate C code into Java and
expect it to magically become object orientated.
.
- Follow-Ups:
- Re: GoTo in Java
- From: Pete Dashwood
- Re: GoTo in Java
- From: Oliver Wong
- Re: GoTo in Java
- References:
- GoTo in Java
- From: Howard Brazee
- Re: GoTo in Java
- From: Oliver Wong
- Re: GoTo in Java
- From: Frank Swarbrick
- Re: GoTo in Java
- From: Oliver Wong
- Re: GoTo in Java
- From: Richard
- Re: GoTo in Java
- From: Oliver Wong
- GoTo in Java
- Prev by Date: Re: PowerCobol
- Next by Date: Re: Maximized Screen with Acucobol-GT
- Previous by thread: Re: GoTo in Java
- Next by thread: Re: GoTo in Java
- Index(es):
Relevant Pages
|