M
Malcolm
Novices suggest rewriting the lot, experts try to salvage, seasoned expertsBigBrian said:Ah, that appears to be the tendency for many novice programmers doing
maintenance. Yes, sometimes code needs to be re-writen, but IMHO,
novice programmers are more likely to suggest it than seasoned experts.
realise that this is usually a waste of time and go back to rewriting code
from scratch.
The fact is that you can patch code maybe once. Then the structure of the
code is destroyed and further patches introduce subtle and deep-seated bugs,
and then the project enters a cycle of decline. This is particularly the
case when patcher and original programmer are not the same person.
Also, generally fixes which are on the borderline between a bug fix and
adding new functionality tend to be marginal special cases, like support for
cars with temporary trade registration plates in a congestion charging
scheme, which violate the assumptions on which you have built the program -
in this case, that a car keeps the same registration number for its useful
life. These are particularly likely to introduce problems.
Sure, however you probably don't have any shares in the company you areIMHO, sometimes managers really do make the right decision. Many times
their decision is based on business information that the programmer
doesn't have or doesn't understand. Moving on for something like this
is childish, IMHO.
working for, so what matters is the value of the experience you get doing
the work, and the immediate interest and enjoymnet of the work itself.
Enjoyable work tends to have high status, and future employers tend to look
for people who have held high status positions. Usually you win on both
counts.
So Robert isn't necessarily wrong.