4 ms·
The inverse of this is also useful: // Dear maintainer, // The code which follows was hacked together under desperate pressure. // It's not smart. // It's no
by BearfootCoder 5y ago
The inverse of this is also useful:
// Dear maintainer,
// The code which follows was hacked together under desperate pressure.
// It's not smart.
// It's not doing anything really subtle.
// It's the only thing we could get to work in the time.
// If you want to chuck it and replace it, you absolutely should.
- slver 5y agoIt's useful, until you realize you have this on 90% of your code.
- Cthulhu_ 5y agoThat's when a full rebuild can be justified. I'm doing that atm, but I think my predecessor lacked the humility to admit that his code was bad, which is how it went up to 150K of code that basically concatenates XML, converts it to JSON and concatenates HTML on the front-end from the result.
- kubanczyk 5y agoHey, that one I actually can replace with self-documenting code! Oh joy!