3 ms·
> If the systems are so vital surely there is a detailed specification and writing in an easier to maintain language would repay the effort? As others have sai
by AnimalMuppet 5y ago
> If the systems are so vital surely there is a detailed specification and writing in an easier to maintain language would repay the effort?
As others have said, no, there's probably not a complete specification. But even if there is, it's not nearly complete enough.
That code may have 50 years of bug fixes and corner case fixes in it. How many times was the spec changed to reflect those fixes? Probably not always. If you rewrite it from the spec, how many of those issues are you going to re-introduce?
And, how many new bugs are you going to introduce? The old code has 50 years of "getting the bugs out". It may be hard to maintain, but for what it does, it probably does it pretty solidly. Will the new code be as solid?
Re-writing isn't as easy as it looks...