Quantcast

Ruby on Rails, Io, Lisp, JavaScript, Dynamic Languages, Prototype-based programming and more...

Technoblog reader special: $10 off web hosting by FatCow!

Thursday, November 16, 2006

Context Switches

Joel Spolsky responded to Dmitri Zimine's article about context swtiching. Dmitri talks about the developer pains caused by context switches and how abusing context switching can lead to lower productivity and less code for your dollar. Joel's response is that if you work against context switching, you are not being agile. He backs his reasoning with an example: a huge bug was discovered that crashed the browser for a loyal customer, so their 2.0 release was held back to fix this.

First of all, Joel declares that having two week release cycles is not agile, which I think is a faulty assumption to start with. Telling a client that they will have to wait two weeks for the feature of their dreams is not always the deal breaker situation Joel makes it out to be, in fact I would think most clients would be impressed if a company released a requested feature within two weeks.

More importantly, there is a huge difference between necessary and unnecessary context switches. The high priority bug fix that Joel mentions is indeed a good reason to switch contexts, however that doesn't mean that if some random person in Zimbabwe says that he wants them to add feature X before the next release, I would hardly think that would be a good reason to switch contexts and focus on X. There certainly should be some abstraction and safety nets in place to make sure that programmers switch context as little as possible but no less. To say, as Joel does, that a 30" monitor means that a great programmer should magically be able to switch context on demand for any reason is a gross over-generalization.

Abuse your car's clutch and it will eventually break, no matter how good of a car or how well you take care of the rest of it.

You should follow me on twitter here.

Technoblog reader special: click here to get $10 off web hosting by FatCow!

6 Comments:

Blogger Curt Sampson said...

Your post strikes me as a very misguided characterisation of Joel's. For example, you say that, "Joel declares that having two week release cycles is not agile, which I think is a faulty assumption to start with. The closest thing to that I can find in Joel's article is: "It's not supposed to be about rigid programming teams who are so slavishly devoted to their Two Week Plans that they can't rearrange their schedule a bit to serve the needs of the customer."

Joe'l point, which he makes quite clearly, is that he feels that, "Dmitri is only looking at one side of the cost/benefit equation." You don't really address this at all, except perhaps to agree with it.

Looking at the original post, the only alternatives were to halt the entire iteration, or to completely ignore the issue until the next iteration. That's not agile.

A better approach, especially when you're that early in the iteration, is just to make up a new story for dealing with this issue and find a story (preferably one that's not been started) that can be swapped out for it. I do this sort of thing not infrequently, and if done with careful judgement, and knowledge of what sort of long-term effects this can have.

9:38 PM, November 16, 2006

 
Anonymous Anonymous said...

OT, but in case nobody's told you, your archive links are broken. Which is unfortunate for me, since I wanted to read everything!

8:05 AM, November 22, 2006

 
Blogger Lucas Carlson said...

Thanks for the note on the archives, that has been fixed.

10:39 AM, November 22, 2006

 
Blogger Zhenhong Bao said...

longchamp handbags
coach outlet
true religion canada
oakley sunglasses
mulberry handbags
reebok shoes
burberry outlet
ralph lauren outlet
ralph lauren polo
ralph lauren
hermes belt for sale
versace sunglasses on sale
fitflops clearance
nike air max 90
thomas sabo outlet
pandora outlet
tory burch outlet
coach outlet
kobe shoes
oakley sunglasses
ghd hair straighteners
ray ban sunglasses
coach outlet online
tory burch shoes
coach outlet
ralph lauren outlet
mulberry handbags
michael kors outlet online
discount oakley sunglasses
burberry sunglasses on sale
ralph lauren pas cher
replica watches
oakley sunglasses
chrome hearts outlet online
longchamp pliage
20160531zhenhong

6:20 PM, May 30, 2016

 
Blogger Zhenhong Bao said...

toms outlet
michael kors online
ralph lauren uk
coach factory outlet
tory burch outlet
replica watches
toms shoes
fitflops sale
coach outlet
michael kors factory outlet
oakley sunglasses wholesale
longchamp handbags
air max 90
michael kors handbags wholesale
louis vuitton sunglasses
michael kors outlet online
louis vuitton bags
oakley sunglasses
ray ban sunglasses
fitflops clearance
chaussure louboutin
swarovski crystal
michael kors outlet store
michael kors outlet sale
chrome hearts outlet
louboutin pas cher
coach outlet online
louis vuitton outlet
louis vuitton neverfull sale
ralph lauren outlet
rolex watches
swarovski outlet
nike huarache
oakley sunglasses
ralph lauren outlet
20160531zhenhong

6:22 PM, May 30, 2016

 
Blogger Hua Cai said...

louis vuitton outlet
louis vuitton pas cher
omega watches
rolex uk
iphone case uk
nike air max uk
lululemon pants
toms shoes
longchamp
michael kors outlet
mulberry outlet,mulberry handbags outlet
michael kors outlet store
tory burch outlet online
ugg uk outlet
true religion jeans
michael kors factory outlet
cazal outlet
michael kors handbags
ray-ban sunglasses
canada goose outlet store
nike air max 90
rolex watches outlet
michael kors canada
montblanc pens
ugg boots clearance
louis vuitton outlet
coach outlet
gucci outlet online
iphone case
cheap mlb jerseys
swarovski jewelry
fitflops sale clearance
coach factory outlet
longchamp pliage
ugg outlet
20160804caihuali

10:46 PM, August 03, 2016

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home

 

If you like this blog, you might also like top photography schools.