I always write my code expecting it to experience the full wrath of my future self’s scornful critical eye. And on the rare occasion I do re-read my old code, I’m usually pleasantly surprised at how well I documented it and handled errors! (But I’ll go on to say that I could have designed a better architecture/API instead of relying on documentation and making error states possible in the first place.)
What a good website!
I always write my code expecting it to experience the full wrath of my future self’s scornful critical eye. And on the rare occasion I do re-read my old code, I’m usually pleasantly surprised at how well I documented it and handled errors! (But I’ll go on to say that I could have designed a better architecture/API instead of relying on documentation and making error states possible in the first place.)