Yes, it would have been cheaper and faster to throw this code away
and start over
Maybe. For another point of view, see
Joel Spolsky on not rewriting from scratch
I agree with adrianh. If a component is not broken, don't rewrite it.
Rewrite a component when you find a number of bugs in it.
But first write a regression test suite for the component.
I've seen many folks over the years throw out old code, rewrite it ...
and introduce a heap of new bugs in the process.
If you come into a new company and introduce a swag of new
bugs in previously working code, you will start to smell
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||