Hacker News new | ask | show | jobs
by sowbug 2701 days ago
I also liked this: "... today might not be a good day, so let’s use it for something I have to do anyway."

The idea transfers well to coding. Maybe you're not feeling inspired today, but there's probably something mechanical that needs to happen to your project -- resolve a TODO, update the docs, triage a bug report. So do it, and even if that doesn't snap you back into the groove, at least you got that one thing done.

2 comments

“You have to move forward a little bit, every day. It doesn’t matter if your code is lame and buggy and nobody wants it. If you are moving forward, writing code and fixing bugs constantly, time is on your side.”

— Joel Spolsky, Fire And Motion, https://www.joelonsoftware.com/2002/01/06/fire-and-motion/

"If you can’t fly then run, if you can’t run then walk, if you can’t walk then crawl, but whatever you do you have to keep moving forward"

- MLK

I've been using a technique similar to what I described in the original post to teach myself Haskell, and your comment 100% resonates with me. In the case of learning a new language, just getting a piece of code to run and testing it out has been a great way for me to get into the groove. I suspect that writing unit tests might be another good entry point.