4 ms·
> I've found the most successful way of dealing with these code bases is definitely not this. It is to surround them with a body end-to-end functional tests and
by dtech 11y ago
> I've found the most successful way of dealing with these code bases is definitely not this. It is to surround them with a body end-to-end functional tests and then slowly refactor what is underneath, which mostly just involves doing this:
Keep in mind that this was written in 1999. The current philosophy of testing+refactoring old code was mostly developed during 2000-201x.
- junke 11y agoTesting + refactoring is absolutely not new. Even the Wikipedia article on Extreme Programming (https://en.wikipedia.org/wiki/Extreme_programming https://en.wikipedia.org/wiki/Extreme_programming) acknowledes that testing-first was used extensively by NASA durin 1960's, at least for computing.