474,028 Members | 46,606 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Future reuse of code

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.

Thanks for the help in advance

James Cameron
Jul 19 '05
242 13619

According to Donald Tees <Do*********@sy mpatico.ca>:
: About the *only* code I
:know that is still running after 15 years use is in Cobol.

15 years isn't that long guys (1988!) - where I work , I don't know if there
_is_ any cobol. But they have C, IBM assembler, PL/1, and code in
a variety of other languages that has been running that long.

--
<URL: http://wiki.tcl.tk/ > <URL: http://www.tcl.tk/ >
Even if explicitly stated to the contrary, nothing in this posting
should be construed as representing my employer's opinions.
<URL: mailto:lv*****@ yahoo.com > <URL: http://www.purl.org/NET/lvirden/ >
Jul 19 '05 #51
On Mon, 04 Aug 2003 14:28:23 GMT
"jce" <de*********@ho tmail.com> wrote:

<snip>
You don't say what the application is which makes the response hard.
Some language are better for some things than others ;-)
Definitely. After all, one option to keep code reusable for 15 years is
to keep the HW and tools required to build & use it for 15 years.

<snip>
3. Does anyone really look to an application to last this long?
Yes. I know of SW written pre 1980 that was scheduled for further work
some time in 2000. This is code embedded in an avionics system which is
expected to be flying for another 15 years.

<snip>
4. The MOST important question is ........does it matter if I can
reuse it in 5 years if I cannot get it out of the door quickly now? No
point architecting a 15 year plan if it takes 5 years to execute and
you need it in 3 months. I didn't get that priority from your
original note.

If you are on your own then I only have one comment:
Narrow choices down to what you are comfortable with then add those
languages you are confident of handling. You have to deliver the
quality product NOW and not 15 years from now.
It might need to be delivered in 2 (or more) years time.
Here's the kicker:
Imagine......Su n goes belly up in 2006....Microso ft antes up with a
few billion to buy the Java licensing rights....woo hooo.....We'll all
try desperately to port to Inga's free open source virtual software
layer Ingot that runs on EyeBeeEmux to remove Microsoft
dependencies... .(remember they once thought the earth was flat and
that Senators were for the people). In 2015 we no longer run
processors as we know them. Electrons have been isolated on switches
that are built on self managed bio matter developed in the Democratic
People's China by po'd shepherds who refuse to divulge their methods
to the Communist States of America.


None of which is necessarily a problem. An acceptable solution might
involve keeping a stockpile of the HW to develop and run the
application. Of course, that might not be the case.
--
Mark Gordon
Paid to be a Geek & a Senior Software Developer
Although my email address says spamtrap, it is real and I read it.
Jul 19 '05 #52
On Mon, 04 Aug 2003 22:00:43 GMT
"Harley" <de************ *****@worldnet. att.net> wrote:
"jce" <de*********@ho tmail.com> wrote in message
news:ur******** ***********@twi ster.tampabay.r r.com...
| "Harley" <de************ *****@worldnet. att.net> wrote in message
| news:7q******** *************@b gtnsc05-news.ops.worldn et.att.net...
| >
| > "Malcolm" <ma*****@55bank .freeserve.co.u k> wrote in message
| > news:bg******** **@news8.svr.po l.co.uk...
| > |
| > | "James Cameron" <ja***********@ bindereng.com.a u> wrote in
| > | message
| > COBOL ain't dead yet.
| > It has a history, and some code that surpasses the 15 year
| > reusability requirement.
|
| If this was a requirement 15 years ago then it surpassed that
| requirement.
|
| I don't think this requirement is effective retroactively.

No, but there are languages that should have similary stories.
C++, and VB have been around for more than 5 years, so they have a
history. C has a longer history.

Isn't VB platform dependent?
Yes it is, it also has a history of changing.
| Question isn't what code has been reusable for 15 years....but what
| WILL
be
| reusable IN 15 years.

Any language that has a large customer base that would holler like
hell if it were abandoned, will be around for at least 15 years.
So Z80 assembler will be around for another 15 year. Actually, I know of
one product which has 15 years of support already signed up where the
software is a mix of Z80 assembler, PLM and an obsolete Pascal variant.
| COBOL has had a resurgence recently - question is whether it will
| hold up for 15 more years....Probab ly will....but you have to hope
| that the compilers/$$$ keep up or you'll just have something that
| works and isn't bleeding edge (what's wrong with that?).
|

Have you seen any evidence that the compilers have become stagnant?


Yes, and I know of one VAX that continues to run VMS4.x so that people
can continue to use the tools. Some time in the next 15 years my old
employer may have to port the code, but they will have problems with
availability of various chips as well so the hardware may need
redesigning as well.
--
Mark Gordon
Paid to be a Geek & a Senior Software Developer
Although my email address says spamtrap, it is real and I read it.
Jul 19 '05 #53
In message <Pf************ ********@gigane ws.com>, JerryMouse
<no****@bisusa. com> writes
Huh? Dogs won't bark in North Carolina? The speed of light becomes less? The
world DEPENDS on things remaining - mostly - the same.

But the speed of light varies with the medium through which it travels.

--
Alistair Maclean
Jul 19 '05 #54
jce
"Mark Gordon" <sp******@fla sh-gordon.me.uk> wrote in message
news:2003080519 2555.6f69e3e5.s p******@flash-gordon.me.uk...
On Mon, 04 Aug 2003 14:28:23 GMT
"jce" <de*********@ho tmail.com> wrote:
3. Does anyone really look to an application to last this long?
<snip> Yes. I know of SW written pre 1980 that was scheduled for further work
some time in 2000. This is code embedded in an avionics system which is
expected to be flying for another 15 years. <snip>

I guess it was a shortsighted question. I guess I missed an entire genre of
software development.
With communication links, nuclear reactors, and even Hubble it would be
ridiculous to assume that the application is "short" lived. I am sure there
are many areas primarily looking at safety or stability (the IRS for example
I am sure wants their multi million dollar rewrites to last through some
more tax cuts and tax hikes).
Your comment made me think about my car electronics system. I'm cheap and
hope it will still be running in a few more years !
I'm of the...'they've got coffee that's instantaneous.. ..Good Technology'
generation :-)

<snip> None of which is necessarily a problem. An acceptable solution might
involve keeping a stockpile of the HW to develop and run the
application. Of course, that might not be the case.

<snip>
I guess that there are those companies reading 30 year old tapes for
customers so the hardware will always be there - but this also shows that
some people should have stockpiled their own hardware. Never seen a room
full of Apple 200 or 286's but it's certainly an angle that I hadn't thought
of. I guess at the end of the day there are many ways to skin a cat
including hardware solution.

Thanks for making me look at a slightly bigger picture.

JCE
Jul 19 '05 #55
lv*****@yahoo.c om wrote:
According to Thomas Gagné <tg****@wide-open-west.com>:
:That's an interesting criterion. How reusable will the code be 15 years from
:now? Why not consider what makes code from 15 years ago reusable?

That's a great question - what are some libraries which were written
15 years ago still in use?
BLAS. The earliest recorded literature reference to BLAS is from 1979,
which makes it 24 years old this year. Based on that single data point,
then, the criterion must be that the library is written in Fortran. :-)
First, what is the criteria we are going to use - the code was written
15 years (or more) ago and never touched? Written 15 years ago and
continues to be maintained for portability? Written 15 years ago and
has undergone rewrites over time?
There's probably code in the first category on frozen systems - systems
where the only things being written are new reports, etc. but no new
applications written.
I'm not sure whether that should count, because the question is about
reuse, not longtime continuing use. We could argue about exactly what
we mean by "reuse".
I'm trying to think what open source projects might fall into this category
- what about pbmplus ? The official release was
http://www.acme.com/software/pbmplus...dec1991.tar.gz
so that software is 12 years ago. I suspect that people still use that
distribution.


We have a software suite currently use in our lab whose original version
dates back to the late 1950s. That makes it about 45 years old,
although it has seen quite a bit of maintenance over the years and
probably not much of the original code remains. It is written in
Fortran. The version I first worked on was pretty much gobbledygook --
working gobbledygook, mind -- that had been, at that time, maintained
for over thirty years and gone through at least three ports to new
systems. The deciding factor there was not accessibility of the code in
any sense, nor any secret or arcane technology. It was just that the
software was at least as useful as any alternative, likely aided by the
fact that the field is sufficiently specialized that the were only a few
alternatives.

Perhaps that kind of story can't happen any more.
John Bollinger
jo******@indian a.edu

Jul 19 '05 #56
On 5 Aug 2003 16:54:00 GMT, lv*****@yahoo.c om wrote or quoted :
That's a great question - what are some libraries which were written
15 years ago still in use?


Some code like a math library the handle matrices need not change. It
has no user interface. The more a piece of software interacts with the
user and the OS, the more tweaking it will need just to keep it alive.

The more self-contained a piece of code is the safer it is. Otherwise
it has to change to match changes in any pieces it depends on. If one
of those pieces fails, a substitute must be found or created.

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Jul 19 '05 #57

"Harley" <de************ *****@worldnet. att.net> wrote in message
news:OS******** *************@b gtnsc04-news.ops.worldn et.att.net...
Snipped much of post.

"Marco van de Voort" <ma****@toad.st ack.nl> wrote in message
news:slrnbivdbd .rak.ma****@toa d.stack.nl...
|
| There only has to come some major new fashionable paradigm that promises
| managers to shave off 1 percent of development cost, and the total
direction
| and focus of the programming community can change.
This is a very astute and accurate observation. However, I tend to agree
with Dennis' position below, that the whole business of coding will become
automated, and SOURCE code re-use is therefore irrelevant.

What I THINK will happen is that we will abandon coding altogether.
We will have system modeling tools that generate the program coding for us. Once the model is developed, the system could be generated for a variety of environments. You want a Windows version, no problem. You want a Unix
version, no problem. You want a mainframe version, no problem.
Yes, I agree strongly with this. I believe that by INTERACTION and ITERATION
with a Workshop of Users and IT people, the system will write itself. We can
ALMOST do this today, and I have managed projects where all the
functionality was derived from Joint Development Workshops, code was cut,
then the process iterated. It is a logical progression to have the code
generated instantly by a smart system. The best thing about this approach is
not the technology, but the fact that the Users get exactly what they
need/want right NOW, not what they needed/wanted six months ago when the
"Requiremen ts Gathering" phase was signed off...

The whole debate about "future re-use of code", insofar as it applies to
SOURCE code, is irrelevant.

Pete.

The only tricky thing will be the reverse engineering of existing systems
into the model.
I've seen this done, but the reverse engineered model didn't address the
system from a business perspective.

Jul 19 '05 #58
On Tue, 5 Aug 2003 08:04:57 -0400, "Donald Tees"
<Do*********@sy mpatico.ca> wrote or quoted :
That simply is not true. The general ledger rules have not changed an ioto.
What has changed is operating system interfaces, and most of those have been
cosmetic ... screen I/O and formating of reports. The rules of accounting
are identical, the account number scheme is identical, etc. etc. Being able
to re-use has a lot more to do with breaking the rules of bussness out from
the fluff than it does about technology.


When I lived on Quadra Island the guy down the road made a living
writing custom Accpac modifications. This was done in a sort of
assembler for a very DOS-like model. There is a ton of this stuff
running Canadian businesses. Very few people understand it anymore.

Companies have paid high amounts to have these mods done, and they are
not portable. The whole scheme is frozen circa 1985.

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Jul 19 '05 #59
On Tue, 5 Aug 2003 07:50:03 -0500, "JerryMouse " <no****@bisusa. com>
wrote or quoted :

That's a start with a false assumption. The 'business rules' of a general
ledger haven't changed since a mad monk invented them in the 1500's. The
basic rules of inventory control haven't changed since the start of an
agrarian society (you've got some, you take some away, you add some to the
pile).


I am using code for NEW applications I wrote back in 1979, so I have
no compunctions about using code just because it is old. What you want
though is for the code to be understandable and changeable IF YOU
WANTED TO. You should not be using code just because nobody knows how
to change it.

In the simplest case, somebody asks that a program collect some
information, then gradually you find the game is not worth the candle.
So you might as well remove that code, rather than forcing people to
make up data to keep the program happy.

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Jul 19 '05 #60

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

253
2785
by: James Cameron | last post by:
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. Thanks for the help in advance James Cameron
0
11580
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11932
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
11101
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
10270
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8659
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6614
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6785
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4909
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3934
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.