3 ms·
I work alone and expected to learn how to review my own code from this, but there was actually nothing about reviewing code in the article and all the advice on
by andai 5y ago
I work alone and expected to learn how to review my own code from this, but there was actually nothing about reviewing code in the article and all the advice only works if you're on a team.
Something I've found surprisingly useful is to turn my code into a tutorial. I've been working on an educational product recently and I've found writing explanations of my code extremely useful for improving the code; I've made dozens and dozens of changes even after I thought the code was "done" and it was time to begin writing the text.
I'm recording videos based on the text and that's making me realize things about the code that I didn't realize just by writing about it. It's as though, for me, writing and speaking activate different ways of thinking.
- mynameismon 5y agoRelated (and probably helpful): https://rubberduckdebugging.com/ https://rubberduckdebugging.com/