There's a good chance this question will get closed, but I feel it's relevant to programmers.
A project that I've put a great deal of energy into was just significantly scaled back, to the point where it might as well not exist. There is a very good chance that the bulk of my work over the past two years will never see the light of day.
I know project cancellations are common in the software world and it's all but impossible to go through your career without experiencing them.
My question is: How do you maintain your motivation when something you've invested so much time and energy into evaporates within a matter of weeks, for reasons totally out of your control?
I love programming and now I feel like my heart's been broken. Will I ever love programming again?