I switch between the two modes this article describes quite regularly.
Reflecting on it other things cause me to go into distraction mode are:
- Not sufficiently planning out boring changes (That's easy! Get stuck as I realise I've done it wrong. 1 hour later, oh, I'm reading HN, how did that happen?)
- Having to write large, but simple objects or CRUD code
- A change or bug that requires picking apart poorly written code. Refactoring helps me stay focused but that often feels like procrastination.
- Using a library I don't know well but is documented poorly
- Trying to get OAuth authentication working (every single bloody time, I hate it)
- Having to modify any existing javascript even if I wrote it, I find js so hard to re-parse. function, function, function, function, function, function. I can't pick out the flow of the code. One of the reasons I've never got on with Lisp either I think.
Not necessarily. It can take a long time to load a large project, including any Rails applications. A typical Rails application can take about 30 seconds to load (that's any time you run a Rake task, launch a server, run unit tests, etc) and unit test runs can typically take a few minutes, often times more than 10 minutes for large applications. If you use a test server, such as Spork, the load time largely goes away for running your tests, but there's still a few seconds of startup time. Just because a language doesn't have an explicit "compile" step doesn't mean its void of compiling-related problems.
I switch between the two modes this article describes quite regularly.
Reflecting on it other things cause me to go into distraction mode are:
- Not sufficiently planning out boring changes (That's easy! Get stuck as I realise I've done it wrong. 1 hour later, oh, I'm reading HN, how did that happen?)
- Having to write large, but simple objects or CRUD code
- A change or bug that requires picking apart poorly written code. Refactoring helps me stay focused but that often feels like procrastination.
- Using a library I don't know well but is documented poorly
- Trying to get OAuth authentication working (every single bloody time, I hate it)
- Having to modify any existing javascript even if I wrote it, I find js so hard to re-parse. function, function, function, function, function, function. I can't pick out the flow of the code. One of the reasons I've never got on with Lisp either I think.