Products > Programming

How do you keep your mind on a project?

(1/7) > >>

So I have a problem, something I'd imagine most, if not all programmers have had an issue with, but mine is quite deep. I'm finding it impossible to keep my mind on my projects.

I enjoy programming, I quite do, but it's almost impossible now for me to stare at a text file and /do/ anything for more than five minutes until I get almost restless and annoyed, and I just want to go do something else.
It wasn't always like this either, I used to be able to really put time and energy into a project, and have made incredible progress on stuff in a very short period of time for things like game jams.

This almost completely applies to programming. When I work on hardware or general software/system configuration projects, which I tend to do quite often, I will have boundless attention, to the point where I will put
more time into trying to get things to work than most people would consider even remotely reasonable (I just spent around 6-7 days straight trying to get a FreeBSD installation environment boot over PXE and /still/
don't have it working).

I do know that when I am in an environment where I have absolutely no other distractions, I will end up getting things done, but this isn't particularly easy for me to do. Transportation takes a lot of time, and my portable
gear is not pleasant to work on. (Would you want to program everything on a 14" tablet?).

I do also think that I might be setting some of my projects to be too lofty, but it's also one of the few ways to motivate me in general. If I don't think something is worth doing, I won't end up doing it, and most of the things I
consider worth doing tend to be quite complex and take a lot of time and effort to put into it.

I'm not exactly sure what I'm looking for here, mainly suggestions as to how people have solved this problem, experiences in general to see if I can extract something that works for me. Maybe I should just keep trying to go back
to it and not give up until I get somewhere. Maybe I literally should just work on things in five minute spurts, better than getting no work done at all I suppose.

Sometimes i find it easier to get work done on projects when i have less free time.

If i have lots of free time the value of this 'time' is low and i don't get very motivated to get stuff done.
When i have limited free time it seems worth more so i push myself harder automatically.

Maybe you need to do something else to make you want to do the projects.

That makes sense, i just don't have anything else to do, as I have had an insane amount of free time for the past years.

Get a boring job you can do in your sleep.

You will feel motivated to do cool stuff

Not strictly related to software though.
It's a very common problem. I remember we had a whole thread about unfinished projects.

There is no miracle cure, but my point was that getting some external motivation, instead of relying entirely on your internal motivation, helps quite a bit. So for instance if you're working on a project that you know friends or relatives are interested in (or better yet, will use), it definitely helps. If no one is expecting anything out of the project (including yourself quite often!), it's almost impossible to keep focused until completion (unless the project takes very little time to complete). If you think you're expecting something out of it because, well, you want it finished, it just doesn't work. It's circular. It's not expectation. You need to want it finished for a precise reason. Whatever it is. But not just for its own sake.

Usually when you're younger, it matters less, because doing stuff in itself is fun and enough motivation. As you age, the fun in merely doing things decreases, so you need additional motivators.

Short of finding a purpose, as suggested above, another motivator, of course, that partially alleviates the latter problem, is to do something new. You'll get back some initial fun. If you've done programming for ages, you'd need to try something else. Could be analog electronics for a purely software/digital design guy. Could be experimental physics. Could be mechanics. Anything new really.


[0] Message Index

[#] Next page

There was an error while thanking
Go to full version