Click here to Skip to main content
15,906,947 members

Survey Results

What is the oldest significant piece of code you have in a current application?   [Edit]

Survey period: 14 Jul 2003 to 20 Jul 2003

Just to prove a point that the life span of a piece of code is far longer than 3 years. (Suggested by John Cardinal)

OptionVotes% 
Less than 6 months1018.05
< 1 year866.86
< 2 years12910.29
< 3 years19715.71
< 5 years30824.56
< 10 years19915.87
> 10 years23418.66



 
GeneralRe: Way back when I were a lad... Pin
Steve Driessens20-Jul-03 18:09
Steve Driessens20-Jul-03 18:09 
GeneralRe: Way back when I were a lad... Pin
kcs20-Jul-03 18:36
professionalkcs20-Jul-03 18:36 
GeneralRe: Way back when I were a lad... Pin
Steve Driessens20-Jul-03 20:06
Steve Driessens20-Jul-03 20:06 
GeneralThe older the code... Pin
Marc Clifton14-Jul-03 14:07
mvaMarc Clifton14-Jul-03 14:07 
GeneralRe: The older the code... Pin
Navin15-Jul-03 9:45
Navin15-Jul-03 9:45 
GeneralRe: The older the code... Pin
Nish Nishant16-Jul-03 15:17
sitebuilderNish Nishant16-Jul-03 15:17 
GeneralRe: The older the code... Pin
Jörgen Sigvardsson17-Jul-03 6:23
Jörgen Sigvardsson17-Jul-03 6:23 
GeneralRe: The older the code... Pin
conrad Braam17-Jul-03 23:30
conrad Braam17-Jul-03 23:30 
The way I see it, code more than about 10 years old can probably do with a re-write, unless it is core functionality/modules.
I will give 3 reasons:
1. The systems the code runs on have changed (unless U write code for anything other than MS-Windows), and can do with some optimization and better error trapping.
2. The same programmer has hopefully learnt new tricks since he joined, and can do a better job this time around by re-working it. (Except if it aint' broke in any way)
3. The users want new features, and providing them involves re-working some of the underlying modules, in order to keep up with software technology moves.

Most code in the heart of an application however is best left un-touched, since it's bug-count must be quite low after 10 years, however the same application probably handles 10 times the data it did back "when", and there will be areaas that can be optimized.
An example is memory on Windows NT 3.5, used to be very slow to grab, so you had to eliminate any code that fragmented or released memory often. With NT4, however RAM access seemed faster, so memory-hungry desighned apps actually ran better, even if they fragmented the heap. I assume there are more examples of tuning, using disk speed changes over time too.



Conrad - conradb@adroit.co.za
Always do badly to start off, that way when you get the hang of it suddenly, everyone is surprised.

GeneralDid this come from the Open Source NT 4 article?? Pin
John M. Drescher14-Jul-03 9:56
John M. Drescher14-Jul-03 9:56 
GeneralRe: Did this come from the Open Source NT 4 article?? Pin
Mike Nordell14-Jul-03 20:41
Mike Nordell14-Jul-03 20:41 
GeneralRe: Did this come from the Open Source NT 4 article?? Pin
ijprest15-Jul-03 2:16
ijprest15-Jul-03 2:16 
GeneralRe: Did this come from the Open Source NT 4 article?? Pin
Torben Jakobsen17-Jul-03 20:21
Torben Jakobsen17-Jul-03 20:21 
GeneralRe: Did this come from the Open Source NT 4 article?? Pin
Navin15-Jul-03 9:48
Navin15-Jul-03 9:48 
GeneralRe: Did this come from the Open Source NT 4 article?? Pin
Member 9617-Jul-03 8:42
Member 9617-Jul-03 8:42 
GeneralRe: Did this come from the Open Source NT 4 article?? Pin
John M. Drescher17-Jul-03 9:36
John M. Drescher17-Jul-03 9:36 
GeneralPorted Libraries Pin
Ted Crow14-Jul-03 5:36
professionalTed Crow14-Jul-03 5:36 
GeneralRe: Ported Libraries Pin
John M. Drescher14-Jul-03 7:24
John M. Drescher14-Jul-03 7:24 
GeneralRe: Ported Libraries Pin
John M. Drescher14-Jul-03 7:25
John M. Drescher14-Jul-03 7:25 
GeneralRe: Ported Libraries Pin
basementman16-Jul-03 16:50
basementman16-Jul-03 16:50 
GeneralWhy 3 years? Pin
Tom Welch14-Jul-03 4:29
Tom Welch14-Jul-03 4:29 
GeneralRe: Why 3 years? Pin
Jörgen Sigvardsson17-Jul-03 6:47
Jörgen Sigvardsson17-Jul-03 6:47 
GeneralSort of a bad question Pin
Tim Smith14-Jul-03 4:14
Tim Smith14-Jul-03 4:14 
GeneralOld timer Pin
Gary Wheeler14-Jul-03 2:44
Gary Wheeler14-Jul-03 2:44 
GeneralHello World Pin
Zhang Ziyi14-Jul-03 1:38
Zhang Ziyi14-Jul-03 1:38 
GeneralRe: Hello World Pin
William Bartholomew14-Jul-03 1:41
William Bartholomew14-Jul-03 1:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.