{"id":2179,"date":"2013-01-23T19:38:44","date_gmt":"2013-01-23T18:38:44","guid":{"rendered":"http:\/\/t-machine.org\/?p=2179"},"modified":"2013-01-23T19:38:44","modified_gmt":"2013-01-23T18:38:44","slug":"the-cost-of-interrupting-someone-analysed","status":"publish","type":"post","link":"http:\/\/new.t-machine.org\/index.php\/2013\/01\/23\/the-cost-of-interrupting-someone-analysed\/","title":{"rendered":"The cost of interrupting someone &#8230; analysed"},"content":{"rendered":"<blockquote><p>\n&#8220;Based on a analysis of 10,000 programming sessions recorded from 86 programmers using Eclipse and Visual Studio and a survey of 414 programmers (Parnin:10), we found:<\/p>\n<ul>\n<li>    A programmer takes between 10-15 minutes to start editing code after resuming work from an interruption.\n<li>    When interrupted during an edit of a method, only 10% of times did a programmer resume work in less than a minute.\n<li>    A programmer is likely to get just one uninterrupted 2-hour session in a day\n<\/ul>\n<p>We also looked at some of the ways programmers coped with interruption:<\/p>\n<ul>\n<li>    Most sessions programmers navigated to several locations to rebuild context before resuming an edit.\n<li>    Programmers insert intentional compile errors to force a \u201croadblock\u201d reminder.\n<li>    A source diff is seen as a last resort way to recover state but can be cumbersome to review\n<\/ul>\n<p>&#8221;\n<\/p><\/blockquote>\n<p>The full article &#8211; <a href=\"http:\/\/blog.ninlabs.com\/2013\/01\/programmer-interrupted\/\">http:\/\/blog.ninlabs.com\/2013\/01\/programmer-interrupted\/<\/a> &#8211; includes graphs, analysis techniques, suggested tools \/ features that help to fix the problems, etc. Good reading.<\/p>\n<p>Also some good comments, for instance:<\/p>\n<h4>The less-quoted benefit of Pair Programming<\/h4>\n<p>&#8220;I was surprised to discover whenI first started pair programming 13 years ago, how one person ia a pair can hold the context while the other person in the pair gets interrupted. We could get back to work in seconds.&#8221;<\/p>\n<h4>The less-quoted benefit of TDD<\/h4>\n<p>&#8220;I was also surprised by test-driven development, how it helps keep track of where you are. Here are some of the factors I&#8217;ve noticed:<br \/>\n* The test tell you how far you have gone.<br \/>\n* Your test list serves as a reminder of where you need to still get to.<br \/>\n* The focus on small steps meas at any instance there are fewer balls in the air.&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;Based on a analysis of 10,000 programming sessions recorded from 86 programmers using Eclipse and Visual Studio and a survey of 414 programmers (Parnin:10), we found: A programmer takes between 10-15 minutes to start editing code after resuming work from an interruption. When interrupted during an edit of a method, only 10% of times did [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,46],"tags":[],"_links":{"self":[{"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/posts\/2179"}],"collection":[{"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/comments?post=2179"}],"version-history":[{"count":0,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/posts\/2179\/revisions"}],"wp:attachment":[{"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/media?parent=2179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/categories?post=2179"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/tags?post=2179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}