Comment

Comment by rossdavidh

When I am having a problem getting up the gumption to tackle something, programming-wise, I tell myself that I'm not going to do the actual code yet, just comments (TODOs and such) about what I will do eventually.

Some of those comments, are just sentences, but then sometimes it's easier to just put the code in the comment, than to describe it in any other way. Still commented out, though. I'm not coding this now, just saying what i will do, eventually.

After a while, sometimes I uncomment a few sections, and test just those little functions to see that they work, anyway. But basically, I'm not coding now, don't have the energy or will to do it right now.

Sometimes, it is enough to get me going, and I turn the comments into code. Other times, I stop for the day once everything is planned out, as much as I can at this point. Either way, it is better than not approaching it at all, because it seems to require (psychologically) a smaller step to code it once I do come back to it the next day, because everything is planned out.

If you don't have a job in programming just now, do puzzles, do a small app for organizing your recipes or books, do something. It doesn't have to be something which anyone else will ever want or need to see, just something to exercise that part of your brain.

parent rossdavidh 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton