Toot

Written by Peter Ludemann on 2025-01-13 at 18:47

@jbqueru When I've replaced legacy code, half the time I should have fixed it instead; and when I've fixed legacy code, half the time I should have replaced it. (In both cases, adding tests of course).

If I had made the opposite decisions, I probably would have concluded that I was mistaken the same 50-50.

Bad code is like a cancer - all remedies are bad and it's a matter of guessing the least bad cure. (And the author of the bad code probably got promoted before the effects of that code manifested.)

PS: bad design is even more problematic.

=> More informations about this toot | View the thread | More toots from PeterLudemann@mathstodon.xyz

Mentions

=> View jbqueru@fosstodon.org profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113822536496018885
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
219.868999 milliseconds
Gemini-to-HTML Time
0.431496 milliseconds

This content has been proxied by September (ba2dc).