I try to be patient and remember that it will be easier to understand and make progress the next day. A lot of times I measure my success by how much I finish each day, but with depression, it's much easier if you measure how much I finish each week.
Also, I try to shift to things I find very interesting or that are easier. So, I might write some unit tests or improve something about my developer workflow. I find that it's harder to create or write large blocks of greenfield code when I am down. It's easier to read existing code or do smaller refactors.
I try to be patient and remember that it will be easier to understand and make progress the next day. A lot of times I measure my success by how much I finish each day, but with depression, it's much easier if you measure how much I finish each week.
Also, I try to shift to things I find very interesting or that are easier. So, I might write some unit tests or improve something about my developer workflow. I find that it's harder to create or write large blocks of greenfield code when I am down. It's easier to read existing code or do smaller refactors.
Thats a good idea to refactor old code and still get productive today.
Thank you! 😊