💾 Archived View for republic.circumlunar.space › users › andybalaam › blogmirror › 2005-06-23_re_imp… captured on 2023-05-24 at 18:04:46. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-12-04)
-=-=-=-=-=-=-
Been discussing with Alex about the dangers of re-implementing - he wants to simplify the command-line arguments code in FreeGuide, but rather than modifying the existing code, he's re-written it. The problem with re-writing is that old code usually has lots of non-obvious bug fixes in it which you will have to re-implement all over again as they are reported. Alex has re-written a few things, and generally he's improved the code structure, but we have both then had extra work to do fixing the bugs that are inevitably introduced. That can seem like a waste of time if they're bugs that I have already fixed in the past.
It always feels easier to write your own new version instead of understanding what's already there, but in reality, unless you're changing the output, it's never a good idea completely to re-write the internals. There's a good article by Joel Spolsky on this.
Originally posted at 2005-06-23 19:26:11+00:00. Automatically generated from the original post : apologies for the errors introduced.