Slashdot Mirror


How To Get Out of Developer's Block?

Midnight Thunder writes "I have spent the past six months working on a software project, and while I can come up with ideas, I just can't seem to sit down in front of the computer to code. I sit there and I just can't concentrate. I don't know whether this is akin to writer's block, but it feels like it. Have any other Slashdotters run into this and if so how did you get out of it? It is bothering me since the project has ground to a halt and I really want to get started again. I am the sole developer on the project, if that makes a difference."

9 of 601 comments (clear)

  1. Break your project into manageable steps by Antidamage · · Score: 5, Insightful

    Break your project into manageable steps. It's the only way to tackle large, complicated tasks when you lack motivation.

    If you do enough small steps, you'll regain your enthusiasm for the project. Then you'll be back on the rails in no time.

  2. Too many possible factors by hattig · · Score: 5, Insightful

    Sole developer is hard. There's no easy answer as people react differently.

    I'd say:

    1) Get away from the computer for a bit.

    2) Do that other project that keeps interrupting your thoughts.

    3) Sit down and work out a hard plan with deadlines. Not long term deadlines, but in the near future. If you can't do this, then maybe the project is too fuzzily defined.

    4) Do a lot more work with pencil and paper. Only use the computer for programming and post-pencil-paper documentation.

    5) Is there anything outside life that's affecting you? Afraid of zombies in red jackets dancing if you fail to finish the project? Is it actually going well, or are you unhappy with it? Ask yourself the hard questions to see if it's that. I.e., you feel it's not worth finishing the project, so you can't.

    6) It could just be your work conditions - chair, computer position, desk cleanliness. Or the people around you - interruptions, etc. Make notes of when you get interrupted, and then see what they're like at the end of the week. Like a food diary, you might be surprised.

    1. Re:Too many possible factors by Heir+Of+The+Mess · · Score: 5, Insightful

      I've had this problem where I've sunk into a funk, there's a few things I did to cure it:

      - Quit coffee for a while and get your sleep patterns back to normal

      - Exercise more. Sitting at a desk I can get my breathing down to almost nothing and my pulse down to 40. Do this for a year and your body becomes inefficient at getting oxygen into your system. Exercise and stretch your lungs. I do 50 pushups a day, and jogging on the weekend and it's changed my life.

      - Once an hour move around a bit, again increasing your breathing and heart rate.

      - Try to get more sunlight in your life.

      - Stop reading slashdot for a while - it sucks the life force out of you. In fact try to cut down on tv and internet browsing and do stuff requires more active involvement.

      --
      Australian running a company that does C# / C++ / Java / SQL / Python / Mathematica
  3. Don't Code, Design by fidget42 · · Score: 5, Insightful

    Work on the software's architecture or design. Draw diagrams on how the pieces are to fit together and how data (and control) are to flow throughout the system. This lets you look at your project from a more abstract perspective and may make it easier to get motivated to code portions.

    --
    The dogcow says "Moof!"
  4. Step by step process by Nefarious+Wheel · · Score: 5, Insightful

    1) Examine your motives. Do you really want to do this? No? Think about the effect on you if you don't. Spend no more than 2 minutes on this stage. Decide.

    2) Describe the problem to yourself, written, in a single short paragraph. Display this where you can see it as you work.

    3) Determine the absolutely smallest possible component of this job that you need to do. Maybe a 5 minute job. If you can't break down a big job into smaller jobs, you're in the wrong business. Pick that smallest little job and do it. Write it down on a physical list and tick it off. Actually do this step.

    4) Determine the next little job. Work a bit to find the next smallest task. Rinse and repeat.

    5) By this time you might have momentum. But if all else fails, acquire a McDonald's or Wendy's job application. Have it framed and on your wall in front of you. Nothing will motivate you better than that.

    --
    Do not mock my vision of impractical footwear
    1. Re:Step by step process by Jurily · · Score: 5, Insightful

      3) Determine the absolutely smallest possible component of this job that you need to do. Maybe a 5 minute job. If you can't break down a big job into smaller jobs, you're in the wrong business. Pick that smallest little job and do it. Write it down on a physical list and tick it off. Actually do this step.

      4) Determine the next little job. Work a bit to find the next smallest task. Rinse and repeat.

      I hear ya. Whatever you do with that code, keep fiddling with it. Keep your attention on it even if it's just some comment formatting. After a while, your brain starts to get into gear and next time you look up from your screen, the janitor will be telling you to go home already.

      For most of us, there is a certain period of time we have to sit and look stupid, before we can be productive. Just stick with it.

  5. More to it than that. by Photo_Nut · · Score: 5, Insightful

    Your motivation to work on something has to come from within. That being said, if you are in a depressed mood (understandable in these times), then you are less likely to be productive. I suggest going out for a run, getting your blood pumping, etc. Sometimes caffeine helps. Music helps. Minimizing distractions helps - web browser, cell phone, etc.

    One thing you can do if you want motivation is to reward completing the boring or hard tasks with easier, more fun tasks. Mix up the hard problems you have to solve with minor annoyances. That way, if you can't concentrate on a hard problem, you can at least make some progress. Making progress is the way to get through the doldrums.

    Go to bed early, next to a window facing East. Wake up in sunlight.

    You might also take the approach that video games do - track the work you do. Reward yourself for making milestones.

  6. Re:LSD and Weed by tomsomething · · Score: 5, Insightful

    Love the "Insightful" mod! What if I said "ba-ZING!"

    --
    Welcome to Slashdot. Replace this text with your desired signature before replying to a story.
  7. Test Driven Development by xp · · Score: 5, Insightful

    I find test-driven development a great way to break out of the developers block. Just write a small test, the tiniest most trivial test that you can imagine. Now make it pass. And pretty soon you are back in the game.
    --
    Hate your boss?