Great post! It's amazing how many simple, repeatable concepts are used from the beginning of our careers all the way through.
I wanted to add an additional tip about tutorials. Try renaming the variables/functions in the tutorial you're doing. Then you can't copy/paste. You have to understand the connections in order to successfully complete the tutorial. This is even better with tutorials that use the same variable names in different scopes. If you just blindly follow, you may not even notice the context of usage is different!
+1 to Laurie's comment. Staying vigilant about doing these things as you gain experience is they key! When I find myself off course on a problem, usually I can track it back to not doing something you've detailed here.
You've done such a wonderful job distilling the core principles in this article, Ali!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.