2

Possible Duplicates:
How can I be more productive at work? (additional context inside)
How to code on a very tight schedule?

Sometimes we create new code quickly. And sometimes we can't concentrate.

Development process has different thinking stages. There is a fast stage when we create code as a result of our ideas. And there is a slow stage when we think. And it is important not to be disturbed when slow stage or thinking time may be extended.

Do you know another recomendations to use work time effectively? May be good guide?

sergzach
  • 697
  • 5
  • 11

6 Answers6

6

During your 'thinking' phase, make sure you go out regulary. Take breaks, take for example a stroll in the park. Thinking doesn't always come by sitting behind your desk, browsing through code or studying API's. Actually, it's quite the opposite: new surroundings inspire and often give new insights.

Dibbeke
  • 2,514
  • 1
  • 16
  • 13
6

A door - with an office. Then close the door. From the inside.

6

Write a lot of throwaway programs to test assumptions, theories, and ideas. Make sure they never themselves evolve into anything - do throw them away, but carry away bits of useful code and data. Try to enter projects with a good number of assumptions tested, which often saves a lot of grief and thrashing later on.

Kevin Hsu
  • 1,613
  • 10
  • 11
2

Close your e-mail client.

Close your browser.

Or at least only allow yourself to open browser tabs directly related to the task you are working on.

David
  • 329
  • 1
  • 4
2

Keep a tight feedback cycle.

If your code or environment requires a compilation or refresh phase, that's usually dead air that could have been used to muse about the problem more. Compare and contrast scripting and interpreted languages versus compiled ones. Or look for anything that supports live editing or at the very least automated refresh/compilation.

Mark Canlas
  • 3,986
  • 1
  • 29
  • 36
1

Learn to touch type / type quickly.

If there's a physical impediment blocking or deterring you from serializing your thoughts to a secure area, then that's a legitimate concern.

I find it hard to believe that there are successful "hunt and peck" programmers out there in the wild.

Mark Canlas
  • 3,986
  • 1
  • 29
  • 36
  • +1: I haven't seen any poor typists who were good programmers. Good programmers are good because they have done a lot of programming. They become good typists through sheer repetition. I've seen guys type 80 wpm with two fingers. – kevin cline May 26 '11 at 03:09
  • Edsger Dijkstra, one of the most famous computer scientists in the world programmed using pen and paper. And for good reasons: think twice, code once. – Dibbeke May 26 '11 at 09:24
  • Maybe i'm just a slow thinker, but i rarely feel limited by my typing speed (i type without looking, of course, but no touch-typing). I tend to assume that my thoughts are overcomplicated and should be refactored, when they need too much text. – keppla Oct 13 '11 at 07:47