Marco van de Voort wrote:
> In article < >, James Cameron wrote:
>
>>Hi I'm developing a program and the client is worried about future
>>reuse of the code. Say 5, 10, 15 years down the road. This will be a
>>major factor in selecting the development language. Any comments on
>>past experience, research articles, comments on the matter would be
>>much appreciated. I suspect something like C would be the best based
>>on comments I received from the VB news group.
>
>
> Mathlab? The only one I can think of being around over 15 years
FORTRAN. I've reused FORTRAN aerodynamics models that were 30+ years old
because they captured the domain model and the domain model hasn't changed.
LISP. I've reused LISP symbolic math processing models were 20 ish
years old because they captured the domain model and the domain model
hasn't changed.
Java was designed for portable GUIs, though is a lot more general
purpose now. Does your domain model map well to the constructs in Java?
Even if you can reuse a GUI in 20 years time, Java swing will look as
old to a user then as MSDOS 3 does to a OS X user now.
C models the architecture of a defunct hardware platform, and maps well
enough to other hardware platforms to give performance efficiencies.
The closer a language is to the language of your domain model, and the
better the the representation of the domain you produce, the longer your
software will by usefully reused.
Pete