I've recently been in a rut and while I still have a lot further to go I've been feeling better over the last couple of days and here's what helped:
- going to therapy
- taking PTO
- going outside
- hanging out with friends
- cooking a meal
- going on a date
- going to LA and getting sun
- reconnecting with old friends
I'm not out yet but I feel like with some time and effort I can be. How did I do it? I think there are really two parts of this - helping others and asking for help. I've always enjoyed the first but never done the second and that was really holding me back.
I like this post a lot, even if it's a somewhat contrived example. In particular I like his point about switch statements making it easier to pulled out shared logic vs. polymorphic code.
There's so much emphasis on writing "clean" code (rightly so) that it's nice to hear an opposing viewpoint. I think it's a good reminder to not be dogmatic and that there are many ways to solve a problem, each with their own pros/cons. It's our job to find the best way.
Bay -> LA (Go Bruins!) -> NYC