<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Nimble Code: Tag programming</title>
    <link>http://www.nimblecode.com/articles/tag?tag=programming</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Jacob Harris' Weblog</description>
    <item>
      <title>Are You Happy?</title>
      <description>&lt;p&gt;I read a lot of feeds. A &lt;em&gt;lot&lt;/em&gt; of feeds. In my hobby trend-spotting (it&amp;#8217;s like a dorkier birdwatching), I read my feeds to monitor the zeitgeist to see what the real &lt;a href="http://www.macdevcenter.com/pub/a/mac/2002/05/14/oreilly_wwdc_keynote.html"&gt;Alpha Geeks&lt;/a&gt; are into. And the last year has had some interesting trends. For instance, dynamic languages like Python and Ruby are now firmly the new wave, although functional languages (Haskell, &lt;span class="caps"&gt;OCAML&lt;/span&gt;) and prototype languages (Io) seem to also be attracting interest. Web2.0 is a term bandied around casually, mocked, and even &lt;a href="http://radar.oreilly.com/archives/2006/05/web_20_service_mark_controvers.html"&gt;litigated over&lt;/a&gt; , but the concept seems to be here to stay. The most novel aspect I&amp;#8217;ve seen about Web2.0 is that the Web has become a source of real tools many developers are using to manage their lives; as a holder of Sun stock much diminished in value, I guess I can at least take comfort in the fact that their adage &amp;#8220;The network is the computer&amp;#8221; seems to finally be coming true. Sure, it&amp;#8217;s about 6 years later than predicted, but it&amp;#8217;s happening.&lt;/p&gt;


	&lt;p&gt;But most interesting to me is when the alpha geeks flock to ideas not directly related to coding frameworks, business plans or the like. For instance, six months ago it seemed like every serious hacker was devouring &lt;a href="http://www.davidco.com/"&gt;Getting Things Done&lt;/a&gt; and blogging about organizing their lives. And now the new obsession is &lt;a href="http://web.ionsys.com/~remedy/FLOW%20%20.htm"&gt;Flow&lt;/a&gt;. A conceptualiztion first coined in a book fifteen years ago, Flow is a term Mihaly Csiksczentmihalyi (&lt;em&gt;don&amp;#8217;t ask me to pronounce that&lt;/em&gt;) coined for that mental state where work is  stimulating but not frustrating, intention translates effortlessly into action, and happiness and productivity are intertwined. Csiksczentmihalyi teased out a description of Flow by looking at the mental states of people practicing Zen mindfulness or risking bodily harm in extreme sports like rock-climbing or surfing. But he could just as easily described the euphoric states of serious computer programming. Small wonder this  book has now been &amp;#8220;discovered&amp;#8221; by the alpha geeks, this fleeting feeling is what we find so addictive about programming in the first place.&lt;/p&gt;


	&lt;p&gt;&lt;span style="float: right; display: block; padding: 5px;;"&gt;&lt;img src="http://www.nimblecode.com/files/flow_channel.jpg" alt="" /&gt;&lt;/span&gt; The basic concept of Flow is that certain tasks make us happy to do them because they exist within a narrow channel between fear and boredom, because they encourage us to improve our skills but do not overwhelm us with too many challenges at once (&lt;em&gt;for Donnie Darko fans, the goal of flow is to find the middle of the fear-love axis&lt;/em&gt;). We developers are well-acquainted with that fear. It&amp;#8217;s the fear that keeps you from refactoring that legacy system because you&amp;#8217;re not sure what would break, the fear that keeps us using a clunky library because we can&amp;#8217;t test changes, the fear that makes deploying the new version to the server nail-biting because it&amp;#8217;s crammed full of changes that might take it down. In short, fear and specifically &lt;em&gt;fear of change&lt;/em&gt; is a constant state of mind for too many programmers, but it doesn&amp;#8217;t have to be. A state of happiness is possible if you can conquer the fear.&lt;/p&gt;


	&lt;p&gt;Flow is the reason why some frameworks like Ruby on Rails are so appealing to programmers; it straddles that line between utter boredom (coding a web site in &lt;span class="caps"&gt;PHP&lt;/span&gt; like always) and high anxiety (having to master a complicated system like Cocoon just to print out &amp;#8220;Hello World&amp;#8221;). The key is allowing people to add capabilities (like authentication, tagging) as their skills grow, but not require everything to be planned up front. It conquers the fear of change, but hacking change into smaller steps. What makes a framework &lt;em&gt;good&lt;/em&gt; (the same is true for languages, methodologies, testing, architectures) is how it destroys this anxiety.&lt;/p&gt;


	&lt;p&gt;For most of my career, the basic question asked of developers was &lt;strong&gt;are you productive?&lt;/strong&gt; Computer programmers are naturally obsessed with productivity. This is after all a field where good programmers can outperform bad coders by several orders of magnitude. and for years the industry has marketed to this by selling tools that promise leaps in productivity. The key to productivity was seen only through uses of higher-level toolsets/IDEs or APIs. This is a philosophy Cote has memorably termed &lt;a href="http://www.redmonk.com/cote/archives/2006/05/oracle_develope.html"&gt;Right-Click Coding&lt;/a&gt; because of all the right clicking and fiddling you have to do to get anywhere. This was seen as a development accelerator, because it enabled poor developers to do complicated things like enterprise integration and &lt;span class="caps"&gt;GUI&lt;/span&gt; development without needing to actually write code or learn details of how things work. But, I think that overall such tools have actually decreased developer productivity in several ways. Like a teacher teaching only to her worst students in class, the wizards and libraries stifle and frustrate more able programmers. And since they remove developers from using the underlying code, wizards only accelerate bloat and complexity in their underlying code bases.&lt;/p&gt;


	&lt;p&gt;Worse of all, the fear was still out there. Indeed, like air conditioner output makes city streets hotter, they&amp;#8217;ve made the situation worse. By piling away programming within massive APIs and single-purpose wizards, this approach has created a nightmare of complexity waiting to ambush more able developers. Now the question becomes &lt;strong&gt;are you compliant?&lt;/strong&gt; Being savvy to the latest standards, libraries, or buzzwords is touted as the key. But the difficulties people have had using &lt;span class="caps"&gt;SOAP&lt;/span&gt; is but one example of how compliance doesn&amp;#8217;t really help either.
Just mention &amp;#8220;interop&amp;#8221; to any &lt;span class="caps"&gt;CTO&lt;/span&gt; or high-level architect and you&amp;#8217;ll see what I mean. The complexity (and the fear) are still there, standards compliance just blames the programmer when things go wrong.&lt;/p&gt;


	&lt;p&gt;Instead, it&amp;#8217;s time for a new question: &lt;strong&gt;are you happy?&lt;/strong&gt; I think the growing interest in Flow and &lt;span class="caps"&gt;GTD&lt;/span&gt; and higher-level languages and test-driven development and agile project management reflects a sea change in attitude by the alpha geeks. Trying to find happiness through artificially increasing productivity is like putting the cart before the horse. The key point of Flow is not that productivity fights fear and creates happiness, but recognizing that creating happiness is what creates productivity. I think it&amp;#8217;s about time, if we want to avoid the descent into compromises and disillusionment common in computer science. So, get in touch with your feelings when deciding about that design, language, system, api, etc. and ask yourself &amp;#8220;am I happy doing this?&amp;#8221; I think your instincts are a better guide than you know. Trust them. And don&amp;#8217;t be afraid to be happy.&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; I added some links to the original book as well as discussion in a &lt;a href="http://www.nimblecode.com/articles/2006/06/01/short-takes-pdas-planet-argon-and-happiness"&gt;short take posting&lt;/a&gt;. Happy reading!&lt;/p&gt;</description>
      <pubDate>Wed, 31 May 2006 15:25:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:b63a1668-fd65-4133-b422-beeec8f0a510</guid>
      <author>harrisj@nimblecode.com (Jacob Harris)</author>
      <link>http://www.nimblecode.com/articles/2006/05/31/are-you-happy</link>
      <category>Project Management</category>
      <category>Programming</category>
      <category>Career</category>
      <category>flow</category>
      <category>programming</category>
      <category>productivity</category>
      <trackback:ping>http://www.nimblecode.com/articles/trackback/536</trackback:ping>
    </item>
  </channel>
</rss>
