Just putting this here so I will see it next time I need it... If I've been fighting with a bug, or a new technology that just isn't working for me, I eventually lose energy. A solution that has worked for me is to find a way to write more working code , while still staying somewhat close to the problem. For example: Write "toy" code that uses the new tech I'm stuck on. Write, and test, a wrapper for something I've partially learned which is still being troublesome in my project. Review existing code and rewrite it with a cleaner design Write more tests The point is to write more working code, any way you can . Successful coding is fun and makes our brains happy. We get discouraged when we are not writing working code. So the trick is to find some place close to the problem where we can write working code, and write working code there until the whole thing is flowing again Personal examples: The previous incarnation of my study-project ...
Comments
Post a Comment