12 ms·
Yup. I regularly come across my own notes "This isn't the best way to do this because X, Y, Z. Need to address later." Years later I'm in that code and reali
by duxup 4y ago
Yup. I regularly come across my own notes "This isn't the best way to do this because X, Y, Z. Need to address later."
Years later I'm in that code and realize that X, Y, Z never ever happened (even if it seemed highly likely) and that block of code was working just fine an folks found it easy to work with... I was dead wrong about being wrong.
- w_for_wumbo 4y agoReminds me about a part of code I wrote quickly as a POC, it made it's way into Production unchanged. It somehow ended up being the most stable feature, perhaps because it wasn't trying to do too much. Just what it had to do and nothing more.
- moring 4y agoI don't think there is anything wrong with this. You documented the assumptions made when you wrote it, so years later you know them and can say with confidence that you made the right choice. Much less guesswork. Worst thing was that you were a little rude to yourself.