This is one of the least talked about topic. Believe it or not but programming is hard and creating a mind-blowing software (or even going about changing/fixing an existing one) is a creative task about as difficult as creating a best selling novel or story.
Irrespective of whether or not you believe software development is creative (yeah, some folks like to think of it as a purely logical “hard science” which is full of rules and no creativity), you can’t deny that there are times when you feel low motivation.
Even the most experienced of coders face this sometimes. A problem here is that you can’t ask this on any forum because the most usual reply you get is, “Programming isn’t for you dude, just choose any other field”! This, I think is both uncalled for and inhumane. If you have nothing positive to offer, at least don’t demoralize further an already troubled soul.
Well, coming back to the title, what do you do to motivate yourself when there is a project ahead but you just don’t feel like working or you sit on the desk and start typing but nothing gets typed there, almost like a “Writer’s Block”!