logoalt Hacker News

piftoday at 10:20 AM2 repliesview on HN

> it’s at least a bitter awareness of the fact that the industry doesn’t care to refactor existing code

Refactoring work, terrain tested code?!?

https://www.joelonsoftware.com/2000/04/06/things-you-should-...


Replies

rhdunntoday at 10:26 AM

You can incrementally refactor existing code to make it more maintainable and easier to implement the things you are working on.

The issue with Netscape (per that article) was that it was a rewrite, not a refactor. I.e. replacing all the existing code with new code. That's why it took a long time to release a new version: the previous code hadn't changed and the new code wasn't functionally equivalent to the existing code, let alone have any new features.

frohtoday at 10:41 AM

wait. that's about the green field rewrite of Netscape. not about refactoring where needed.

actually it is very explicitly pushing to refactor and rejuvenate the working field tested code, instead of green field rewriting it.

elsewhere he goes on to what's needed for that, also see the great both entertaining and informative fosdem talks about rejuvenating LibreOffice