Honest Question: What do you do when you lose motivation to code?
-
Too bad you can't retire from the wife. :-\
Jeremy Falcon
After 45 years of marriage I have grown comfortable with the lifestyle!
Never underestimate the power of human stupidity - RAH I'm old. I know stuff - JSOP
-
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"!
Stop thinking of it as a creative process. Much of the time, thank goodness, it's turning a series of logical process into usable code for a job/task/etc. It's that motivation to create the code not creativeness. The creativeness comes when it needs to come. It's not on a demand basis. Most times, necessity makes it needed, other times, efficiency and/or clarity makes it happen. Does this help? Been creating/writing/fixing code for almost 50 years.
"A little time, a little trouble, your better day" Badfinger
-
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"!
It's called burnout, and it's very damaging. The only remedy is to take some time off.
Paul Sanders. If I had more time, I would have written a shorter letter - Blaise Pascal. Some of my best work is in the undo buffer.
-
OriginalGriff wrote:
there is always something I've been putting off to do
This is why I can't work from home. :sigh:
Wrong is evil and must be defeated. - Jeff Ello
Same here. I only "worked" from home about two weeks during the pandemic and went back to the office months before it was officially allowed. Even after almost three years, I am still the only one in our local team (of a large corporation) that goes to the office every day. I cannot work at home because my "office" is forced to be a corner of my bedroom, and MY BED IS RIGHT THERE! I realized quickly that it was not going to work. But, I guess I am the only one on my team that has this struggle because everyone else seems to be OK with it. Cheers, Russ
-
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"!
Take lots of short breaks doing the exact opposite. Get outside, do something physical, etc. I work from home so this is easier. Stay away from the computer/phone on weekends and evenings. Also coding in a field that you are passionate about or working with people you care about is helpful. A body can only take so much sitting motionless and a brain can take only so much focus before they say, “no more”. You have to create the balance that prevents it.
Chris
-
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"!
-
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"!
My father used to say that lack of motivation means you don't have a big enough mortgage yet.
-
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"!
I have this feeling with some regularity. In your case, I'd wonder what exactly you're working on or trying to. I'm very familiar with the feeling of having bitten off more than I can chew, the dread of things getting gradually more complicated and fragile. Yes it is all a creative endeavor.
-
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"!
Do anything but look at a monitor, maybe for a day, maybe for a week (and in that case take vacation in the Rockies). It usually means that either you've exhausted all feasible outcomes in your imagination or there are so many routes you can take that you need to mull over them away from the computer. To me 90% of coding is actually on the whiteboard (the exception being looking through the 100+ functions and classes in an API)
-
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"!
Retire. It's pretty great (except for the health care system in lolUSA#n). Seriously, do more analysis on the lack of motivation. Is it really lack of motivation to code, or is it the particular project/environment? In my example, I was at a place where they had these consultants who'd been around for years. Aggressively ignorant on doing things more right(ish)--hard coding magic values, the "new" stuff (MVC) was too hard and they didn't want to learn it, etc, etc, etc. Couldn't get the boss to move on getting rid of these people, so I left. I can't coach people to be better who refuse to try to learn. Fortunately for me, I had the resources to just retire, but short of that, I would've just found another place with more a competent staff. Wasn't demotivated to solve problems, just to be around solving them in a demonstrably terrible way.
-
I keep a list of fun, side projects for those times, say, a small app or helper library.
Franc Morales wrote:
I keep a list of fun, side projects for those times, say, a small app or helper library.
Catch-22: The "fun", small apps or helper libraries (the stuff I used to do on my own time, evenings and weekends) is what caused me to burn out. On workdays, as soon as I finished dinner, I worked on my little pet projects until late at night, and I'd dedicate my entire weekends to said projects. As much as I loved it, at one point I just hit a wall and it stopped being "fun"; to this day there are periods where I've literally gone for months without writing a single line of code for myself. I go through my work stuff, sometimes begrudgingly, as it is the way I make a living, but how I use my free time is up to me, and these days I use a very tiny portion of my free time coding. It's not like I don't like coding anymore - right now I'm on holidays, and I've spent quite a bit of time going back to those little side-projects, and I'm loving it - I wished I could do this full-time. But I can't bring myself to code on a "regular" weekend, it seems, knowing I only have 2 days to wind down before going back to work on Monday... I've come to the conclusion that I'll use my free time to code if I feel like it, and if I don't, well, those will be my retirement projects. Translation: What started as a hobby in my teenage years lead me to working in this field (and I wouldn't trade it for the world), but from my perspective work is, still after all these years, getting in the way of my hobby.
-
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"!
following is 90% rant coding for a job, is a job the do what you love, and you wont work a day, fallacy is that day to day work, does not cover the reason you might have first loved to program. The "not for you", is either short term thinking. 35 and only in the last year diagnosed ADHD, learning and rethinking mind set around how I approached things, ie I am procrastinating vs PDA (Pathological Demand Avoidance) and yeah im mind wondering for hours on end, but once I finally kick into coding, the results are 2 or 3 steps iterated along, vs the times I have written first pass, then 3 hours of adjusting. expand this out to days, weeks, months. Is that healthy for all demands of work, no but also sometimes yes. Depression and other mental exhasutions, hyper fixations, also do not help along with the creative load that coding requires. Rubber duck debugging works for some. But explaing to a human, junior, kid, work collage how it works might be enough to get them fingers clicking.
-
DerekT-P wrote:
it has the potential to have a LOT of users and that could mean a LOT of support issues, at a time when I'm trying to wind down my coding activities.
If you don't want to support it, you can always open source it and offer it for free. Let the community support it.
Jeremy Falcon
Jeremy Falcon wrote:
If you don't want to support it, you can always open source it and offer it for free. Let the community support it.
I find it interesting you'd suggest this and word it this way. This is no criticism...but hear me out. When "open source" started making waves, I viewed is as kind of a "bad" thing - someone writes something, releases it to the world, and if there's problems, the wonderful thing is that you can go fix it yourself. At least that's how it had been (poorly) presented to me, and my stance against open source had often been, there's no accountability. Who in his right mind would want to commit himself to using a library when there's no-one to shout at when it's broken? Fix it myself? As a developer, I need to spend my own time writing my own software, not fixing other people's bugs. I've come a long way, but (for example) when I look at the amount of NuGet packages out there, and how often things need to be updated...it sometimes makes me wonder if this approach is really the best.
-
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"!
I totally get you. I started coding around 11 - I’m now well north of 50 and I’ve probably thought about coding almost everyday since. It’s obsessed me, it’s a beautiful activity that is also hard, frustrating but rewarding. I’ve often blocked for different reasons:- - the requirements were vague - deep down I didn’t think the feature was valuable (to the user) - I didn’t know where to start - I was burnt out (often because of the above times 100) Depending on above:- - go and do something else (cycling, swimming, etc) - go speak to the (REAL) end user. It will either give you purpose or prove its not valuable - write a failing test for the new feature. Then make it pass! - write a todo list for the feature. Here’s the thing, though, make the next action really, really small so you could just do it will zero effort. Then make the next task that small. Keep going (read “getting things done” for more on this) This should get you going. But remember to look after your mental health x
-
My father used to say that lack of motivation means you don't have a big enough mortgage yet.
-
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"!
Good comment. I've been writing code since 1966 - I was actually the first person at The University of Kansas to major in Computer Science, though it had to be called B.A. in Math with Emphasis in Computer Science because it had not been officially recognized until the year after I graduated. However, in this long life of writing programs, I've hit this wall several times. I learned that it is temporary and whenever I was left feeling frustrated and empty, I just went for a walk, played my guitar for awhile, took a nap -- whatever it took to get past the roadblock. The reward for cracking a tough nut was making the computer perform some cool backflip, clever dance, or magic trick. Part of what I enjoyed being part of the first wave of independent developers was being ultimately responsible for a large, multi-function, monolithic, high-reliability application for a small target user-base. I'm "retired", but in this business, there's really no such thing. Enjoy life.
TwangGuru www.twangguru.com
-
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"!
The only time I code lately is when someone makes a request, and I always aim to please if reasonably possible. Other than that, they made me the manager and I can tell someone else to do it.
-
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"!
Talk to your boss and ask for a junior dev that you can mentor in this job. It will take longer but will provide you with some higher purpose as well as help you realize how much you've learned and have to offer. If motivation comes from Autonomy, Mastery, and Purpose (per Daniel Pink) then you appear to have the Autonomy but are lacking the Mastery (this is not a challenge for you), and Purpose (the goal doesn't resonate for you). Given that you've posted here, you're not a reclusive troglodyte (not that there's anything wrong with that) and you might enjoy bringing someone up to speed on something they couldn't do on their own.
-
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"!
* Sit at your gosh-darned desk and grind it out. You're a big boy. They don't pay you to play. * Code something else. It's not like there is only one task ahead of you in a big project. * Do some non-coding project task. It's not like a project is 100% coding. * Read about coding, listen to videos about coding, anything that you can convince yourself will improve your usefulness. * Get lunch, take a walk, but always set a time limit for your distraction. * Rage-quit your software job, and open a gluten-free bakery.
-
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"!
I take a break, or take on less demanding tasks. Or switch to something unrelated, but then again I have more tasks at my work, than just coding, so I have a lot of freedom of choice. But sometimes I just wait for my muse to come to me.