<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Software Creation Mystery &#187; Practices</title>
	<atom:link href="http://softwarecreation.org/category/practices/feed/" rel="self" type="application/rss+xml" />
	<link>http://softwarecreation.org</link>
	<description>What are the forces behind software development?</description>
	<lastBuildDate>Wed, 07 Jul 2010 04:34:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Become an Expert: Creative Problem Solving</title>
		<link>http://softwarecreation.org/2010/how-to-become-an-expert-creative-problem-solving/</link>
		<comments>http://softwarecreation.org/2010/how-to-become-an-expert-creative-problem-solving/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 21:11:24 +0000</pubDate>
		<dc:creator>Andriy Solovey</dc:creator>
				<category><![CDATA[Expertise]]></category>
		<category><![CDATA[Practices]]></category>
		<category><![CDATA[Skills]]></category>

		<guid isPermaLink="false">http://softwarecreation.org/?p=144</guid>
		<description><![CDATA[Share&#8220;Ideas are like rabbits. You get a couple and learn how to handle them, and pretty soon you have a dozen&#8221; &#8211; John Steinbeck
Your success in life mostly depends on two things &#8211; luck and ability to solve problems. I would leave luck topic for Irish tales and concentrate on the topic of creative problem [...]]]></description>
			<content:encoded><![CDATA[<div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><iframe src='http://api.tweetmeme.com/button.js?url=http://softwarecreation.org/2010/how-to-become-an-expert-creative-problem-solving/&source=AndriySolovey&service=&service_api=&style=compact' height='20' width='90' frameborder='0' scrolling='no'></iframe></div><div class='dd_button'><a name='fb_share' type='button_count' share_url='http://softwarecreation.org/2010/how-to-become-an-expert-creative-problem-solving/' href='http://www.facebook.com/sharer.php'>Share</a><script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'></script></div><div class='dd_button'><script src='http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://softwarecreation.org/2010/how-to-become-an-expert-creative-problem-solving/'></script></div><div class='dd_button'><a title='Post on Google Buzz' class='google-buzz-button' href='http://www.google.com/buzz/post' data-button-style='small-count' data-url='http://softwarecreation.org/2010/how-to-become-an-expert-creative-problem-solving/'></a><script type='text/javascript' src='http://www.google.com/buzz/api/button.js'></script></div><div class='dd_button'><iframe src='http://widgets.dzone.com/links/widgets/zoneit.html?url=http://softwarecreation.org/2010/how-to-become-an-expert-creative-problem-solving/&amp;title=How+to+Become+an+Expert%3A+Creative+Problem+Solving&amp;t=2' height='18' width='120' frameborder='0' scrolling='no'></iframe></div></div></div><div style='clear:both'></div><p><em>&#8220;Ideas are like rabbits. You get a couple and learn how to handle them, and pretty soon you have a dozen&#8221;</em> &#8211; John Steinbeck</p>
<div>Your success in life mostly depends on two things &#8211; luck and ability to solve problems. I would leave <a id="por4" title="luck" href="http://en.wikipedia.org/wiki/Luck">luck</a> topic for Irish tales and concentrate on the topic of creative problem solving.</div>
<p><img title="problems" src="http://softwarecreation.org/images/2010/cat-cubic-rubik.jpg" alt="" /></p>
<div>Any active person constantly facing many problems and challenges. For example,</div>
<ul>
<li>Improving relationship</li>
<li>Flying to space to be the first man on Mars</li>
<li>Overweighting and health problems</li>
<li>Winning bodybuilding or beauty contest.</li>
<li>Procrastination</li>
<li>Learning new technology</li>
<li>Making more money</li>
<li>Building next Facebook or Twitter</li>
<li>Raising kids</li>
<li>Boosting career growth</li>
<li>Becoming Olympic champion or billionaire</li>
<li>Making the world a better place</li>
<li>Planning a dream vacation</li>
<li>Seeking for happiness&#8230;</li>
</ul>
<p>We often are inconsistent in solving problems and cannot find a good solution. This post focus on effective and creative problem solving by offering systematic approach and wide range of techniques.</p>
<p><span id="more-144"></span></p>
<p><img class="alignnone" title="problem solving" src="http://softwarecreation.org/images/2010/problem-solving.png" alt="" width="846" height="825" /></p>
<h3>Beginning</h3>
<p>There are<span> </span><strong>four<span> </span></strong>main elements of Creative Problem Solving:</p>
<ol>
<li><strong>Problem</strong><span> </span>- any question or matter involving doubt, uncertainty or difficulty</li>
<li><strong>Solution<span> </span></strong>- set of actions that solves a problem</li>
<li><strong>You</strong> &#8211; your knowledge, beliefs, emotions and abilities</li>
<li><strong>Context </strong>-forces, people and environment</li>
</ol>
<p>And there are<span> </span><strong>seven<span> </span></strong>strategies:</p>
<ol>
<li><strong>Knowing<span> </span></strong>- you know how to solve the problem in practice</li>
<li><strong>Copying</strong> &#8211; copy and adapt working solutions</li>
<li><strong>Logic<span> </span></strong>- follow reasoning and step-by-step approach to find a solution</li>
<li><strong>Lateral thinking </strong>- solving problems through an indirect and creative approach</li>
<li><strong>Psychology </strong>- use intuition and subconscious to pop a solution</li>
<li><strong>Dialogue<span> </span></strong>- engage brains of other people</li>
<li><strong>Trial and errors </strong>- make guess, verify and refine by experiments</li>
</ol>
<p>Before you start finding a solution, you should board the problem &#8211; understand and accept it.</p>
<h4 style="font-size: 10pt;">Boarding a problem in 3 steps</h4>
<div><em>&#8220;A wise man&#8217;s question contains half the answer.&#8221;</em> &#8211; Solomon Ibn Gabirol</div>
<p><strong>Step 1.<span> </span></strong>What is the core of the problem?</p>
<ul>
<li><strong>Essentials</strong><span> </span>- What are symptoms, facts, key points, players, context?</li>
<li><strong>Root Conflict</strong><span> </span>- Why is this a problem? What is the core of a problem? What is not a problem?<span> </span><a id="p.ya" style="color: #551a8b;" title="Ask 5 whys" href="http://en.wikipedia.org/wiki/5_Whys">Ask 5 whys</a></li>
<li><strong>Clarity</strong><span> </span>- What is still unknown and unclear? Do I need more information?</li>
</ul>
<div><strong>Step 2</strong>. Is this a right problem for me?</div>
<ul>
<li><strong>Feasible </strong>- Is the problem real and you can solve it? Continue by asking critical questions about the problem
<ul>
<li>Is it logical? Does the problem make sense for the rational part of my brain?</li>
<li>Is it subjective? Is it possible that problem exist only in my mind?</li>
<li>What are emotions and feelings? How do they contribute to my perception of the problem?</li>
<li>Is the problem based on hard facts and proven information?</li>
</ul>
</li>
<li><strong>Fit</strong><span> </span>- Why is it necessary to solve? Should I really solve this problem based on my
<ul>
<li>needs</li>
<li>priorities</li>
<li>values and principles</li>
<li>resources (time / money)</li>
<li>potential benefits / risks?</li>
</ul>
</li>
</ul>
<div><strong>Step 3.</strong><span> </span>What is my target for solution?</div>
<ul>
<li><strong>Purpose<span> </span></strong>- what is the purpose of solving the problem?</li>
<li><strong>Stretch<span> </span></strong>- should I solve bigger problem?</li>
<li><strong>Squeeze<span> </span></strong>- should I solve only part of the problem?</li>
<li><strong>Model</strong><span> </span>- what are elements and parameters of the problem? What are forces?</li>
<li><strong>Question </strong>- use<span> </span><a id="gshl" style="color: #551a8b;" title="CIA Phoenix checklist" href="http://www.futurelab.net/blogs/marketing-strategy-innovation/2007/01/the_phoenix_checklist.html">CIA Phoenix checklist</a><span> </span>of problem solving questions</li>
</ul>
<h4 style="font-size: 10pt;">Ideal solution</h4>
<div>Next, you should think about the ideal solution (even impossible). This will help you to direct your thoughts and focus on the gap between what is possible and what you want. (<a id="xs8g" style="color: #551a8b;" title="Ideal Final Result" href="http://www.mycoted.com/Ideal_Final_Result">Ideal Final Result</a>)</div>
<ul>
<li>Find<span> </span><strong>contradictions<span> </span></strong>that can be resolved -<span> </span><em>I want more money, but also want to work less</em> and impossible -<span> </span><em>I have to be in two places in the same time</em>. Use them as a creative stimulus to define an ideal solution.</li>
<li>Understand when you can stop, what is<span> </span><strong>good enough outcome</strong><span> </span>and how much time, energy and money you are willing to spend on resolving a problem</li>
<li>What are potential<span> </span><strong>harms and cost</strong><span> </span>of the solution?</li>
</ul>
<div>Now, we can move to the strategies</div>
<h3>Knowing</h3>
<div><em>&#8220;Good judgment comes from experience. Experience comes from bad judgment.&#8221;</em><span> </span>- Will Rogers</div>
<div><img class="alignnone" title="knowing" src="http://softwarecreation.org/images/2010/storyteller.jpg" alt="" width="179" height="200" /></div>
<div>The best option is when you know how to solve the problem and have practical experience. However Indians say that you can never enter the same river twice. Before repeating a solution think</div>
<ol>
<li>Is the situation same?</li>
<li>Should you improve or change something from your previous solution?</li>
<li>Can you come up with better alternatives?</li>
</ol>
<h3>Copying</h3>
<div><em>&#8220;The secret to creativity is knowing how to hide your sources.&#8221;</em> &#8211; Albert Einstein</div>
<div><img class="alignnone" title="copying" src="http://softwarecreation.org/images/2010/konica.jpg" alt="" width="200" height="194" /></div>
<div>Reinvention of wheel is not the best way to apply your energy. Copying of existing solution is one of the most effective options that taps into boundless experience of other people (sometimes learned hard way). However, think</div>
<ol>
<li>Can you trust sources? Do they provide full unbiased information?</li>
<li>Do you pay attention not only to glorious outcomes of the solution, but also to problems?</li>
<li>Can you use this solution for your specific problem, situation and abilities?</li>
</ol>
<h3>Logic</h3>
<div><em>&#8220;No problem can stand the assault of sustained thinking.&#8221; </em>- Voltaire</div>
<div><img class="alignnone" title="spock" src="http://softwarecreation.org/images/2010/spock.jpg" alt="" width="300" height="283" /></div>
<div><a id="mapi" title="Logical thinker" href="http://en.wikipedia.org/wiki/Logic">Logical thinker</a><span> </span>solves a problem by reasoning and following defined steps. Many problems can be successfully attacked by our rational brain, but not all. You can use following techniques.</div>
<p style="margin: 0px;"><strong>Reorganize </strong>-<span> </span><a id="vsqh" style="color: #551a8b;" title="break down" href="http://creatingminds.org/tools/breakdown.htm">break down</a><span> </span>the problem into elements or parameters and manipulate them. You can use<span> </span><a id="cs38" title="SCAMPER" href="http://creatingminds.org/tools/scamper.htm">SCAMPER</a> method defined by Bob Eberle. (Example:<em><span> </span>a problem with failing relationship)</em></p>
<ul>
<li>S -<span> </span><em><strong>Substitute<span> </span></strong></em>- components, materials, people
<ul>
<li><em>substitute something in your behavior or find another partner</em></li>
</ul>
</li>
<li>C -<span> </span><strong>Combine</strong><span> </span>- mix, combine with other assemblies or services, integrate
<ul>
<li><em>start doing some things together</em></li>
</ul>
</li>
<li>A -<span> </span><strong>Adapt<span> </span></strong>- alter, change function, use part of another element
<ul>
<li><em>change your home responsibilities</em></li>
</ul>
</li>
<li>M -<span> </span><strong>Modify<span> </span></strong>- increase or reduce in scale, change shape, modify attributes (e.g. colour)
<ul>
<li><em>communicate more often, change your tone</em></li>
</ul>
</li>
<li>P -<span> </span><strong>Put to another use</strong>
<ul>
<li><em>use your partner as a tennis or chess opponent, engage as an assistant in fishing</em></li>
</ul>
</li>
<li>E -<span> </span><strong>Eliminate<span> </span></strong>- remove elements, simplify, reduce to core functionality
<ul>
<li><em>separate or stop doing things that annoy your partner</em></li>
</ul>
</li>
<li>R -<span> </span><strong>Reverse<span> </span></strong>- turn inside out or upside down
<ul>
<li><em>say opposite to what you said before </em></li>
</ul>
</li>
</ul>
<div><strong>Abstract</strong> &#8211; solve a problem on an abstract level and apply to the specific problem to find a specific solution. (<a id="e6lo" style="color: #551a8b;" title="Abstraction" href="http://www.creativethinking.net/DT05_ToProduceSomethingCreative.htm?Entry=Good">Abstraction</a>) (Example: <em>Start your blog</em>)</div>
<ul>
<li><em>Think about a specific topic you want to cover. Find out how people start blogs in general, what works and what are common pitfalls. Apply to your topic and situation to grow successful blog.</em></li>
</ul>
<p><strong>Analyze Variations<span> </span></strong>(Example:<span> </span><em>Develop and promote new Content Management System</em>)</p>
<ol>
<li><strong>Parameters of a problem</strong><span> </span>- list variations, combine differently
<ul>
<li><em>cost, time, features, people, quality, vendors, etc; time vs features, in-house vs outsourcing, quality vs speed</em></li>
</ul>
</li>
<li><strong>Attributes list</strong><span> </span>- list attributes of the object (or problem) and try to improve them (<a id="zmih" style="color: #551a8b;" title="Attributes analysis" href="http://www.creativethinking.net/DT07_AttributeAnalysis.htm?Entry=Good">Attributes analysis</a>,<span> </span><a id="y_z5" style="color: #551a8b;" title="Morphological Analysis" href="http://www.mycoted.com/Morphological_Analysis">Morphological Analysis</a>)
<ul>
<li><em>architecture, design, performance, scalability, security, reusability, networking</em></li>
</ul>
</li>
<li><strong>Matrix<span> </span></strong>- create related keywords in main areas, mix and match keywords to form new ideas (<a id="horh" style="color: #551a8b;" title="Leonardo da Vinci Ideabox" href="http://www.creativethinking.net/DT08_DaVincisIdeabox.htm?Entry=Good">Leonardo da Vinci Ideabox</a>)
<ul>
<li><em>solutions (blog, company website, e-commerce, news, social connections), needs (inform, advertise, sell, support), markets (individuals, companies, non-profit, schools, small social groups), technologies (web, video, mobile, aggregation), services (hosting, installation, support, training). For example, what could be opportunity in combination: blog + inform + schools + video + hosting</em></li>
</ul>
</li>
</ol>
<p><strong>Change Context / Process / Forces<span> </span></strong>(Example: <em>Career advance</em>)</p>
<ol>
<li><strong>Force field analysis</strong><span> </span>- maximize positive forces, minimize negative (<a id="dtxm" style="color: #551a8b;" title="Force-Field Analysis" href="http://www.mycoted.com/Force-Field_Analysis">Force-Field Analysis</a>)
<ul>
<li><em>find how to use your strengths more and avoid negative impact of weaknesses</em></li>
</ul>
</li>
<li><strong>Substitute<span> </span></strong>rules, principles, people, places
<ul>
<li><em>change job responsibilities or job itself</em></li>
</ul>
</li>
<li><strong>Anti-action</strong><span> </span>- compensate harmful effect by specific action
<ul>
<li><em>minimize overtime or uninteresting work by changing how you accept your tasks</em></li>
</ul>
</li>
<li><strong>Preliminary action</strong><span> </span>- pre-arrange or change problem context in advance
<ul>
<li><em>build consensus with potential opponents before important meeting</em></li>
</ul>
</li>
<li><strong>Theory of Constraints<span> </span></strong>- find the worst bottleneck and improve until it is no longer a bottleneck, continue with the next bottleneck (<a id="ofx3" style="color: #551a8b;" title="Theory of Constraints" href="http://en.wikipedia.org/wiki/Theory_of_Constraints">Theory of Constraints</a>)
<ul>
<li><em>find what are limiting factors of your growth, work on reducing their impact and increase your abilities and potential</em></li>
</ul>
</li>
<li><strong>Eliminate waste</strong>
<ul>
<li><em>eliminate wasteful activities at work to boost your productivity</em></li>
</ul>
</li>
<li><strong>Lemonade from Lemons</strong><span> </span>- use waste or harmful effect to achieve a positive effect
<ul>
<li><em>learn from your mistakes and use them to improve and become better next time</em>. As Friedrich Nietzsche said:<span> </span><em>&#8220;What doesn&#8217;t kill us makes us stronger.&#8221;</em></li>
</ul>
</li>
<li><strong>Feedback<span> </span></strong>- introduce or increase feedback to improve action or process
<ul>
<li><em>seek for feedback and objective evaluation of your performance to advance faster by fixing your shortcomings</em></li>
</ul>
</li>
</ol>
<p><strong>Explore future scenarios</strong><span> </span>- project future scenarios to find unexpected opportunities (<a id="egmq" style="color: #551a8b;" title="Alternative Scenarios" href="http://www.mycoted.com/Alternative_Scenarios">Alternative Scenarios</a>) (Example:<span> </span><em>Deciding where to invest money</em>)<br />
<em>&#8220;The best way to predict the future is to invent it&#8221;</em> &#8211; Alan Kay</p>
<ol>
<li>Identify<strong><span> </span>forces </strong>
<ul>
<li><em>identify current economic forces and your personal situation</em></li>
</ul>
</li>
<li>Come up with 4-5<span> </span><strong>scenarios<span> </span></strong>- good and bad
<ul>
<li><em>what could happen in the future with both economic and you?</em></li>
</ul>
</li>
<li>Search big<span> </span><strong>opportunities<span> </span></strong>in each
<ul>
<li><em>find how you can benefit from investment in each of scenario</em></li>
</ul>
</li>
</ol>
<div><strong><a id="ppjs" style="color: #551a8b;" title="Absence thinking" href="http://creatingminds.org/tools/absense_thinking.htm">Absence thinking</a></strong><span> </span>- think about what is not there or you didn&#8217;t think before</div>
<h3>Lateral thinking (Creative Spark)</h3>
<p><img class="alignnone" title="both brains" src="http://softwarecreation.org/images/2010/both-brains.jpg" alt="" width="300" height="317" /></p>
<div><a id="tp6x" title="Lateral thinker" href="http://en.wikipedia.org/wiki/Lateral_thinking">Lateral thinker</a> abandons logic, use creative tools and changes concepts and perceptions</div>
<p><strong>Challenge assumptions</strong>, break away from obvious perspectives (<a id="rq2c" style="color: #551a8b;" title="Assumption Busting" href="http://creatingminds.org/tools/assumption_busting.htm">Assumption Busting</a>) (Example:<span> </span><em>Raising troubled teenager</em>)<br />
<em>&#8220;The significant problems we face cannot be solved at the same level of thinking we were at when we created them. &#8220;</em> &#8211; Albert Einstein</p>
<ol>
<li><strong>Expose and challenge</strong><span> </span>all assumptions
<ul>
<li><em>challenge your beliefs about role of a parent</em></li>
</ul>
</li>
<li><strong>Reverse problem<span> </span></strong>in some way<span> </span><a id="u3re" style="color: #551a8b;" title="(Reversal" href="http://creatingminds.org/tools/reversal.htm">(Reversal</a>)
<ul>
<li><em>praise for something you was punishing before</em></li>
</ul>
</li>
<li><strong>Paradox<span> </span></strong>- opposites exist simultaneously (<a id="o2u1" style="color: #551a8b;" title="True and False" href="http://www.creativethinking.net/DT13_TrueAndFalse.htm?Entry=Good">True and False</a>)
<ul>
<li><em>accept that you and your teenager are both right about controversial topic. Try to negotiate from this position</em></li>
</ul>
</li>
<li><strong>Provocation </strong>- wishful thinking, thought experiments
<ul>
<li><em>unleash your imagination, go for crazy ideas about solving a problem</em></li>
</ul>
</li>
<li><strong>Changing viewpoint</strong><span> </span>- think from different perspective (<a id="sgno" style="color: #551a8b;" title="Six hats)" href="http://creatingminds.org/tools/six_hats.htm">Six hats)</a>
<ul>
<li><em>imagine that you are a bird or live in another time. How would you resolve your relations with kid?</em></li>
</ul>
</li>
<li>Finally,<span> </span><strong>challenge any part</strong><span> </span>of the problem &#8211; ask why for anything</li>
</ol>
<p><strong>Force Associations</strong><span> </span>(Example:<span> </span><em>Starting your own software business</em>)<br />
<em>&#8220;Creativity is the power to connect the seemingly unconnected&#8221;</em> &#8211; William Plomer</p>
<ol>
<li><strong>Random keywords</strong><span> </span>- select any word from dictionary and try to connect to your problem  (<a id="cjc5" style="color: #551a8b;" title="Random Words" href="http://creatingminds.org/tools/random_words.htm">Random Words</a>)
<ul>
<li><em>For example, how a tree can be related to your new business?</em></li>
</ul>
</li>
<li><strong>Words of great thinkers</strong><span> </span>- use their quotes and wisdom to associate with a problem.
<ul>
<li>
<div><em>For example, how can Oscar Wilde&#8217;s quote: &#8220;Be yourself; everyone else is already taken&#8221; helps with business ideas? </em></div>
</li>
</ul>
</li>
<li><strong>Free associating with common attributes<span> </span></strong>- select 12 attributes, choose random 2, consider separating and combined (<a id="gc4j" style="color: #551a8b;" title="Combinatory Play" href="http://www.creativethinking.net/DT10_CombinatoryPlay.htm?Entry=Good">Combinatory Play</a>)
<ul>
<li><em>break down into areas &#8211; finances, sales, development, clients, technology, usability, etc. Start pairing randomly</em></li>
</ul>
</li>
<li><strong>Metaphors</strong><span> </span>- similarities and connections of your problem with other distant area
<ul>
<li><em>How analogies of railroad or tropical forest can help with business idea</em></li>
</ul>
</li>
<li><strong>Hieroglyphs </strong>- use Egyptian hieroglyphs to associate with your problem
<ul>
<li><em>arrange randomly <a id="e5-q" style="color: #551a8b;" title="hieroglyphs" href="http://www.greatscott.com/hiero/">hieroglyphs</a> from <a id="afp4" style="color: #551a8b;" title="The Book of Dead" href="http://en.wikipedia.org/wiki/Book_of_the_Dead">The Book of Dead</a> to find clues for creating business</em></li>
</ul>
</li>
</ol>
<p><strong>Visual clues</strong><span> </span>(Example:<span> </span><em>Designing web user interface for the new complex domain</em>)</p>
<ol>
<li><strong>Diagram</strong> to explore, organize and analyze (<a id="h8ov" style="color: #551a8b;" title="Lotus Blossom" href="http://www.creativethinking.net/DT06_LotusBlossomApproach.htm?Entry=Good">Lotus Blossom</a>,<span> </span><a id="hqcb" style="color: #551a8b;" title="Mind Map" href="http://en.wikipedia.org/wiki/Mind_map">Mind Map</a>,<span> </span><a id="f:t0" style="color: #551a8b;" title="Concept Fan" href="http://www.mindtools.com/pages/article/newCT_06.htm">Concept Fan</a>)
<ol>
<li>Explore &#8211; search for new areas that can be related to the problem</li>
<li>Organize &#8211; put together as one picture what you know about the problem</li>
<li>Analyze &#8211; go deep into a problem to find missing details and relations</li>
</ol>
<ul>
<li><em>Draw these 3 types of diagram for web site and business domain: put web site purpose in the center, start drawing branches for big ideas and aspects, branch for smaller and so on<br />
</em></li>
</ul>
</li>
<li><strong>Draw and link abstract symbols</strong><span> </span>for attributes
<ul>
<li><em>create symbols for web patterns and business concepts, shuffle and find ideas in random associations</em></li>
</ul>
</li>
<li><strong>Drawing<span> </span></strong>- draw anything that can be related to your problem;<span> </span><span style="font-family: verdana,arial,helvetica,sans-serif;">lets your subconscious drive your hand</span> (<a id="fg1d" title="Doodling" href="http://creatingminds.org/tools/doodling.htm">Doodling</a>)
<ul>
<li><em>just draw any screen ideas</em></li>
</ul>
</li>
</ol>
<h3>Psychological tools</h3>
<p style="margin: 0px;"><em>&#8220;Everything you can imagine is real.&#8221;</em> &#8211; Pablo Picasso</p>
<p style="margin: 0px;"><img class="alignnone" title="dreamcatcher" src="http://softwarecreation.org/images/2010/dreamcatcher.gif" alt="" width="300" height="450" /></p>
<p style="margin: 0px;">
<p style="margin: 0px;">Use intuition and subconscious to find answers. Our subconscious is a large scene where conscious thought is a <a id="s:8-" style="color: #551a8b;" title="spotlight." href="http://www.newscientist.com/article/mg20627541.900-picking-our-brains-how-powerful-is-the-subconscious.html">spotlight.</a><span> </span>Try to elicit ideas from these dark corners of the most powerful part of your mind. <em><span style="font-style: normal;">(Example:<span> </span></span>Finding new kicking-ass website idea<span style="font-style: normal;">)</span></em></p>
<ol>
<li><strong>Intuition<span> </span></strong>- ask and listen to your intuition
<ul>
<li><em>come up with website ideas without thinking</em></li>
</ul>
</li>
<li><strong><a id="pflp" style="color: #551a8b;" title="Incubation" href="http://creatingminds.org/tools/incubation.htm">Incubation</a></strong><span> </span>- best ideas come than you don&#8217;t expect them, just don&#8217;t miss them
<ul>
<li><em>deeply dig into a problem, put into your mind and forget, and probably soon you will jump from the bath and run to the street screaming &#8216;eureka!&#8217;</em></li>
</ul>
</li>
<li><strong>Fantasies<span> </span></strong>- unleash unreal or crazy questions, suspend judgment and answer them (<a id="hk:5" style="color: #551a8b;" title="Crazy Ideas" href="http://www.creativethinking.net/DT03_IsYourIdeaCrazyEnough.htm?Entry=Good">Crazy Ideas</a>)
<ul>
<li><em>what if you build site for aliens? now you can think about usability for complete dummies, space design, navigation as a star system, etc.</em></li>
</ul>
</li>
<li><strong>Dreaming<span> </span></strong>- capture ideas from dreams
<ul>
<li><em>set questions before you sleep, try to recover answers from dreams immediately after you wake up</em></li>
</ul>
</li>
<li><strong>Drink beer</strong><span> </span>- to slip into different mind state. I don&#8217;t suggest becoming drunk or use  something stronger or illegal :)
<ul>
<li><em>drink and start thinking about website, don&#8217;t foget to record your thoughts early enough :)</em></li>
</ul>
</li>
<li><strong>Surrealistic images</strong><span> </span>- find association of hypnogogic imagery with your challenges
<ul>
<li><em>relax, quiet mind and eyes, become almost unconscious- record experiences immediately after they occur</em></li>
</ul>
</li>
<li><strong>Guided imaginary scenarios</strong><span> </span>to find ideas in unexpected places (<a id="w9d2" style="color: #551a8b;" title="Imaginary Excursion" href="http://www.creativethinking.net/DT09_ImaginaryExcursion.htm?Entry=Good">Imaginary Excursion</a>)
<ul>
<li><em>choose scenario (e.g. going to camp and lost in the forest) and while you experience the journey in the head, search for clues </em></li>
</ul>
</li>
<li><strong>Psychosynthesis<span> </span></strong>- spiritual advisers (<a id="e:x1" style="color: #551a8b;" title="Role-playing" href="http://creatingminds.org/tools/role_play.htm">Role-playing</a>)
<ul>
<li><em>invite Bill Gates, Sigmund Freud or Karl Marx to talk with you inside your head about the kicking-ass website</em></li>
</ul>
</li>
<li><strong>Streaming</strong> <em>- </em>writing out what is in your mind to associate later with the problem
<ul>
<li><em>hide in a comfortable place and start writing &#8211; smart thoughts or gibberish. Find how it could be related to the new website later.</em></li>
</ul>
</li>
</ol>
<h3>Dialogue</h3>
<div><em>&#8220;Adults are always asking little kids what they want to be when they grow up because they&#8217;re looking for ideas”</em><span> </span>- Paula Poundstone</div>
<div><img class="alignnone" title="dialogue" src="http://softwarecreation.org/images/2010/dialogue.jpg" alt="" width="350" height="256" /></div>
<div>Surprisingly, most people think differently than you and can introduce many novel ideas and solutions (Example:<span> </span><em>Plan dream vacation</em>)</div>
<div>
<ol>
<li><strong>Talk with strangers</strong>
<ul>
<li><em>ask about vacation ideas people you don&#8217;t communicate often and you&#8217;ll get plenty of new ideas</em></li>
</ul>
</li>
<li><strong>Brainstorming</strong><span> </span>- exchange ideas and suggestions without judgment, evaluate and revise ideas later (<a id="rxok" style="color: #551a8b;" title="KJ Brainstorming" href="http://www.creativethinking.net/DT15_KJBrainstorming.htm?Entry=Good">KJ Brainstorming</a>)
<ul>
<li><em>ask group of people to generate as many as possible vacation ideas without discussion</em></li>
</ul>
</li>
<li><strong>Brainwriting<span> </span></strong>- parallel generation of ideas in silence (index cards); exchange and develop each other ideas in turn (<a id="lyhg" style="color: #551a8b;" title="Brainwriting" href="http://www.creativethinking.net/DT14_Brainwriting.htm?Entry=Good">Brainwriting</a>)
<ul>
<li><em>everybody in group writes vacation idea on card, give to the next in circle who continue refining this idea</em></li>
</ul>
</li>
<li><strong>Survey<span> </span></strong>- collect ideas from large group of people (<span style="font-family: verdana,arial,helvetica,sans-serif;"><span style="font-size: x-small;"><a id="c7fk" title="Crawford Slip Method" href="http://creatingminds.org/tools/crawford.htm">Crawford Slip Method</a>,<span> </span><a id="i4mr" title="Delphi method" href="http://creatingminds.org/tools/delphi.htm">Delphi method</a></span></span>)
<ul>
<li><em>post survey (e.g. Facebook or </em><a style="color: #551a8b;" href="http://www.surveymonkey.com/"><em>surveymonkey.com</em></a><em>) for vacation ideas</em></li>
</ul>
</li>
<li><strong>Storyboarding<span> </span></strong>- put ideas on the wall as a group works out problems
<ul>
<li><em>post vacation ideas on the wall and let anybody to contribute (add or extend idea)</em></li>
</ul>
</li>
<li><em><strong><span style="font-style: normal;">Socratic dialogue -</span></strong><span style="font-style: normal;"> have a conversation with a smart person and probe various dimensions of thinking: purpose, evidence, reasons, data, claims, beliefs, interpretations, deductions, conclusions, the implications and consequences of thought, response to alternative thinking from contrasting points of view, and so on.</span><br />
</em></li>
</ol>
<h3>Trials and Errors</h3>
<div><span style="font-size: small;"><strong><img class="alignnone" title="Edison" src="http://softwarecreation.org/images/2010/edison.jpg" alt="" width="300" height="399" /><br />
</strong></span></div>
<p>Solving a problem by trial and error is an expensive, but reliable way to find a solution. In science it called<span> </span><a id="qutk" style="color: #551a8b;" title="scientific method" href="http://en.wikipedia.org/wiki/Scientific_method">scientific method</a>. Most scientific discoveries are done using this method. (Example:<span> </span><em>Becoming happy</em>)</p>
<ol>
<li><strong>Ask a Question</strong>
<ul>
<li><em>form a problem statement &#8211; what is happiness for you?</em></li>
</ul>
</li>
<li><strong>Do Background Research</strong>
<ul>
<li><em>learn what other people think about happiness</em></li>
</ul>
</li>
<li><strong>Construct a Hypothesis</strong>
<ul>
<li><em>what could make you happy?</em></li>
</ul>
</li>
<li><strong>Test Your Hypothesis by Doing an Experiment</strong>
<ul>
<li><em>try your ideas in practice</em></li>
</ul>
</li>
<li><strong>Analyze Your Data and Draw a Conclusion</strong>
<ul>
<li><em>are you happy now? should you change a hypothesis and start again?<br />
</em></li>
</ul>
</li>
<li><strong>Communicate Your Results</strong>
<ul>
<li><em>share your results &#8211; help other people to become happier</em></li>
</ul>
</li>
</ol>
<h3>Summary</h3>
<div>Your life success depends on your ability to choose right problems and solve them. Do not give up or settle for an ineffective solution. Use the power of your mind to creatively solve problems the best way possible. Control your life.</div>
<div><em>&#8220;He is able who thinks he is able&#8221;</em> -Buddha</p>
<h3>References</h3>
<ul>
<li><a title="Thinkertoys: a handbook of creative-thinking techniques" href="http://www.amazon.com/gp/product/1580087736?ie=UTF8&amp;tag=softwcreatmys-20&amp;linkCode=xm2&amp;camp=1789&amp;creativeASIN=1580087736">Thinkertoys: a handbook of creative-thinking techniques</a>, Michael Michalko</li>
<li><a id="ujso" style="color: #551a8b;" title="http://www.mycoted.com/Category:Creativity_Techniques" href="http://www.mycoted.com/Category:Creativity_Techniques">http://www.mycoted.com/Category:Creativity_Techniques</a></li>
<li><a href="http://creatingminds.org/">http://creatingminds.org/</a></li>
<li><a title="http://www.mindtools.com/pages/main/newMN_CT.htm" href="http://www.mindtools.com/pages/main/newMN_CT.htm">http://www.mindtools.com/pages/main/newMN_CT.htm</a></li>
<li><a href="http://www.creativethinking.net/WP03_Techniques.htm">http://www.creativethinking.net/WP03_Techniques.htm</a></li>
</ul>
</div>
</div>
<!-- Social Buttons Shared Counts Generated by Digg Digg plugin v4.0.9, 
    Author : Yong Mook Kim
    Website : http://www.mkyong.com/blog/digg-digg-wordpress-plugin/ --><img src="http://softwarecreation.org/?ak_action=api_record_view&id=144&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://softwarecreation.org/2010/how-to-become-an-expert-creative-problem-solving/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>When should you Release Early and Often?</title>
		<link>http://softwarecreation.org/2009/when-should-you-release-early-and-often/</link>
		<comments>http://softwarecreation.org/2009/when-should-you-release-early-and-often/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 21:08:06 +0000</pubDate>
		<dc:creator>Andriy Solovey</dc:creator>
				<category><![CDATA[Concepts]]></category>
		<category><![CDATA[Practices]]></category>
		<category><![CDATA[Process]]></category>

		<guid isPermaLink="false">http://softwarecreation.org/?p=88</guid>
		<description><![CDATA[ShareJason Cohen posted an interesting and provocative argument against Release Early, Release Often principle followed by many agile teams.
His main points:

Ideas. The best ideas are not coming from users and they are bad in providing feedback (iPod). So, there is no point to release early to get their opinion and ideas.
Features. Minimal early set of features could [...]]]></description>
			<content:encoded><![CDATA[<div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><iframe src='http://api.tweetmeme.com/button.js?url=http://softwarecreation.org/2009/when-should-you-release-early-and-often/&source=AndriySolovey&service=&service_api=&style=compact' height='20' width='90' frameborder='0' scrolling='no'></iframe></div><div class='dd_button'><a name='fb_share' type='button_count' share_url='http://softwarecreation.org/2009/when-should-you-release-early-and-often/' href='http://www.facebook.com/sharer.php'>Share</a><script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'></script></div><div class='dd_button'><script src='http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://softwarecreation.org/2009/when-should-you-release-early-and-often/'></script></div><div class='dd_button'><a title='Post on Google Buzz' class='google-buzz-button' href='http://www.google.com/buzz/post' data-button-style='small-count' data-url='http://softwarecreation.org/2009/when-should-you-release-early-and-often/'></a><script type='text/javascript' src='http://www.google.com/buzz/api/button.js'></script></div><div class='dd_button'><iframe src='http://widgets.dzone.com/links/widgets/zoneit.html?url=http://softwarecreation.org/2009/when-should-you-release-early-and-often/&amp;title=When+should+you+Release+Early+and+Often%3F&amp;t=2' height='18' width='120' frameborder='0' scrolling='no'></iframe></div></div></div><div style='clear:both'></div><p>Jason Cohen posted an interesting and provocative <a href="http://onstartups.com/tabid/3339/bid/11416/Releasing-Early-Is-Not-Always-Good-Heresy.aspx">argument</a><span> </span>against <em>Release Early, Release Often</em> principle followed by many agile teams.</p>
<p>His main points:</p>
<ul>
<li><strong>Ideas.<span> </span></strong>The best ideas are not coming from users and they are bad in providing feedback (iPod). So, there is no point to release early to get their opinion and ideas.</li>
<li><strong>Features.<span> </span></strong>Minimal early set of features could be unattractive for majority of users and will turn them down for future use (Apple <a href="http://en.wikipedia.org/wiki/Apple_Newton">Newton</a>)</li>
<li><strong>Quality.<span> </span></strong>A buggy and unpolished product could ruin your reputations</li>
<li><strong>Architecture.</strong><span> </span>An incorrect initial architecture creates waste and serious problems down the road (Netscape, Twitter)</li>
</ul>
<p>Therefore, Jason against releasing early and often. I don&#8217;t agree.</p>
<h3 style="font-size: 1.17em;">My answer: it depends!</h3>
<blockquote><p>Evolution is the process of small frequent changes to improve and adapt to environment.</p></blockquote>
<p><span id="more-88"></span></p>
<p>One of my <a href="http://softwarecreation.org/2008/selecting-the-best-strategy-for-software-teams-retreat-evolution-or-revolution/">posts</a><span> </span>reviewed how software team should select the best strategy: evolution, revolution or retreat. Another<span> </span><a href="http://softwarecreation.org/2008/ideas-in-software-development-revolution-vs-evolution-part-1/">post</a><span> </span>compared evolution to revolution.<span> </span><strong>Evolution</strong><strong><span style="font-weight: normal;"><span> </span>(and aligned core Agile principles) requires early and frequent releases</span>.</strong><span> </span><strong>Revolution</strong><span> </span>pushes innovative product that should disrupt market. Requirements for a revolutionary product ideas are much higher, because it should overcome resistance, create new niche and gain acceptance of the new paradigm. Therefore, revolutionary product should be well thought and prepared to hit the mark. I should note that revolution often becomes evolution after initial release.</p>
<p>Decision factors for selecting strategy<span> </span><em>Release Early, Release Often</em><span> </span>(evolutionary):</p>
<ol>
<li><strong>People.</strong><span> </span>Are they highly talented and capable to come up with great ideas from the beginning ? Or should they learn and understand better the problem space, release incrementally and get more feedback from the users for initial assumptions?</li>
<li><a href="http://softwarecreation.org/2008/ideas-in-software-development-the-game/"><strong>The Game</strong></a>. Is the problem (software requirements and business domain) unclear, complex, challenging and require a lot of trials and feedback? Or is the problem space well known and team already have good experience with it and can release a great product from the first attempt?</li>
<li><strong>The Dynamic</strong>. Is the team under a pressure to release a product early, catch at the market opportunity or help a company to survive? Or do they have luxury to take a time for designing properly and release a polished product?</li>
</ol>
<p><img style="border: 0px initial initial;" title="strategy selection" src="http://softwarecreation.org/images/2008/strategy-selection.jpg" alt="" width="600" height="600" /></p>
<p>There are some cases where long release cycles make sense for the company:</p>
<ol>
<li>A company has deep expertise and hired highly talented and experienced people who know how to build successful product.</li>
<li>A company have enough funds and time to sustain long development and tolerant to inefficiency because incorrect assumptions or lack of feedback.</li>
<li>Customers have low tolerance for risk and the software is mission- or life-critical.</li>
</ol>
<p>However, I expect that for many software teams the most optimal strategy will be evolutionary -<span> </span><em>Release Early, Release Often</em>.</p>
<p>I partially agree with Jason that most users will not help with ideas or provide meaningful feedback. Also it is a bad idea to ship buggy, unfinished and useless product. But a team could get more than user feedback from early and frequent releases:</p>
<ul>
<li><strong>release!</strong><span> </span>This is a huge and most important criteria of development success &#8211; the product is releasable and working</li>
<li><strong>integrate</strong> and put the product pieces together, which is almost impossible to replicate in the test environment</li>
<li><strong>practically experience</strong><span> </span>work of the live product - infrastructure and production problems, performance, scalability and user interactions in their environment. These problems can radically change the view on architecture</li>
<li><strong>reality check</strong><span> </span>- learn from how people use the product: validate initial assumptions, collect praises and complains, real usage patterns, statistics and maybe even some ideas from users :)</li>
<li><strong>emergence of the new ideas</strong><span> </span>and process improvement after experiencing product in the wild live environment</li>
</ul>
<p>A software company should avoid treating users as guinea pigs for their early experiments, but nothing can beat practical benefits of releasing code and learning from it.</p>
<p><em>&#8220;In theory there is no difference between theory and practice. In practice there is.&#8221;</em> &#8212; Yogi Berra</p>
<p>Referenced post: <a href="http://onstartups.com/tabid/3339/bid/11416/Releasing-Early-Is-Not-Always-Good-Heresy.aspx">Releasing Early Is Not Always Good? Heresy!</a> by Jason Cohen @onstartups.com</p>
<!-- Social Buttons Shared Counts Generated by Digg Digg plugin v4.0.9, 
    Author : Yong Mook Kim
    Website : http://www.mkyong.com/blog/digg-digg-wordpress-plugin/ --><img src="http://softwarecreation.org/?ak_action=api_record_view&id=88&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://softwarecreation.org/2009/when-should-you-release-early-and-often/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to rescue failing software projects: The Toyota Way</title>
		<link>http://softwarecreation.org/2009/how-to-rescue-failing-software-projects-toyota-way/</link>
		<comments>http://softwarecreation.org/2009/how-to-rescue-failing-software-projects-toyota-way/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 05:02:59 +0000</pubDate>
		<dc:creator>Andriy Solovey</dc:creator>
				<category><![CDATA[Concepts]]></category>
		<category><![CDATA[Practices]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Teams]]></category>

		<guid isPermaLink="false">http://softwarecreation.org/2009/how-to-rescue-failing-software-projects-toyota-way/</guid>
		<description><![CDATA[ShareThe manager slams a door and tells us that we are in a big trouble. Our old customers complain about many bugs and bad performance, new customers complain about delays and lack of dedication. And, top management considers our department financially unsustainable and wants to deeply cut expenses.
The manager tells that we are brilliant programmers, [...]]]></description>
			<content:encoded><![CDATA[<div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><iframe src='http://api.tweetmeme.com/button.js?url=http://softwarecreation.org/2009/how-to-rescue-failing-software-projects-toyota-way/&source=AndriySolovey&service=&service_api=&style=compact' height='20' width='90' frameborder='0' scrolling='no'></iframe></div><div class='dd_button'><a name='fb_share' type='button_count' share_url='http://softwarecreation.org/2009/how-to-rescue-failing-software-projects-toyota-way/' href='http://www.facebook.com/sharer.php'>Share</a><script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'></script></div><div class='dd_button'><script src='http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://softwarecreation.org/2009/how-to-rescue-failing-software-projects-toyota-way/'></script></div><div class='dd_button'><a title='Post on Google Buzz' class='google-buzz-button' href='http://www.google.com/buzz/post' data-button-style='small-count' data-url='http://softwarecreation.org/2009/how-to-rescue-failing-software-projects-toyota-way/'></a><script type='text/javascript' src='http://www.google.com/buzz/api/button.js'></script></div><div class='dd_button'><iframe src='http://widgets.dzone.com/links/widgets/zoneit.html?url=http://softwarecreation.org/2009/how-to-rescue-failing-software-projects-toyota-way/&amp;title=How+to+rescue+failing+software+projects%3A+The+Toyota+Way&amp;t=2' height='18' width='120' frameborder='0' scrolling='no'></iframe></div></div></div><div style='clear:both'></div><p>The manager slams a door and tells us that we are in a big trouble. Our old customers complain about many bugs and bad performance, new customers complain about delays and lack of dedication. And, top management considers our department financially unsustainable and wants to deeply cut expenses.<br />
The manager tells that we are brilliant programmers, work very hard and create cool software solutions. But there is something wrong and we cannot work this way anymore.</p>
<p>Anxiety started to penetrate our souls. We know what is wrong: our team is short of people, we have too many commitments, our code is becoming a big mess, new technology and our new software version makes something bad with servers. A snowball of different problems makes us stressed, distracted and incapable of productive work.</p>
<p>What could our manager do next?</p>
<ol>
<li><strong>Distrust</strong>. Become a dictator, make own decisions including hiring external consultants to recommend what to do or even replace us. However,
<ul>
<li>we are good programmers and know our business well &#8211; the problem is <strong>not in lack of skill and knowledge</strong></li>
<li>external people will take a lot of time to understand the system and <strong>they will have different motivation</strong> and won&#8217;t care about the long-term success</li>
<li>people will be<strong> demotivated</strong> and the manager cannot make effective decisions <strong>without active team involvement</strong></li>
</ul>
</li>
<li><strong>Faith</strong>. Give to team the full power to fix a problems and make own decisions in hope that smart people, motivation and technical expertise will do magic. However,
<ul>
<li>fresh outlook and thinking out of box are hard when a team <strong>immersed for a long time</strong> into difficult situation</li>
<li>a team possibly doesn&#8217;t have understanding and <strong>control over external forces</strong> &#8211; management, customers, finances</li>
<li><strong>changing of reality is tough</strong> (especially in people heads) and requires more than technical experience</li>
</ul>
</li>
</ol>
<p>There is a third way. Place improvement practices in the core of development process. Make self-improvement inevitable and required for any activity. Do it every day.</p>
<p><img src="http://softwarecreation.org/images/2009/process-improvement.jpg" /></p>
<p><strong>Toyota Way</strong> is the best example of large-scale reliable self-improvement process. It focuses on eliminating waste, solving problems at root cause and making right decisions. Toyota Way reduces problems, increases internal efficiency and makes a company successful. This is the best receipt for coming out of crisis.</p>
<p id="f2g8" style="text-align: left"><img src="http://softwarecreation.org/images/2009/inglorious1.jpg" style="width: 450px; height: 300px" height="300" width="450" /></p>
<p><strong style="color: #000000">Targets:</strong></p>
<ul>
<li><strong><span style="color: #ff0000">Problems</span> </strong>- emergencies, fires that require immediate fix: bugs, server crushes, deadline slips</li>
</ul>
<ul>
<li><strong><span style="color: #ff0000">Waste</span> </strong>- inefficient and non-value adding activities: waiting, misinformation, stress</li>
</ul>
<ul>
<li><strong>Challenges </strong>- adaptation to external forces (market, competitors, customers, society): new trends and technologies, changes in users expectations for user interface and functionality</li>
</ul>
<p><span id="more-87"></span></p>
<h3>Practices to see waste and stop to fix problems</h3>
<p id="fqz3" style="text-align: left"> <img src="http://softwarecreation.org/images/2009/inglorious2.jpg" style="width: 316px; height: 499px" height="499" width="316" /></p>
<h4><strong>1. Seeing waste</strong></h4>
<p id="rjed" style="text-align: left">The team and managers should learn to see targets &#8211; real problems and waste. Otherwise improvements will be wild shots in the dark.</p>
<p>There are many targets in software development:</p>
<ul>
<li>stressed people &#8211; reduced energy, less productivity, more mistakes</li>
<li>waiting &#8211; delays, tools / system problems and downtime, capacity bottlenecks (waiting for results of other people work)</li>
<li>over-engineering &#8211; producing features and complicate design without real need</li>
<li>unfinished work &#8211; functionality not used in a live system, probably still in design or under development or simply discarded (but not removed)</li>
<li>defects &#8211; complete waste of time and money</li>
<li>unused creativity &#8211; loosing time, ideas, skills, improvements and learning by not engaging or listening to your employees</li>
<li>inadequate information &#8211; unclear, misleading or simply wrong information that causes useless activity and leads to rework at the end</li>
</ul>
<ul>
<li>over-processing &#8211; taking unneeded steps to build software because of poor process and system design, overhead, bureaucracy, compliance, cumbersome tools</li>
<li>motion &#8211; how much effort to get necessary information, access systems or use tools</li>
<li>multi-tasking &#8211; losing time to switch between projects, tasks or different activities</li>
</ul>
<h4><strong>2. Jidoka </strong>- stop to fix the problem to get quality right the first time</h4>
<p>It is not enough to see your targets. The Team should carry commandment to shoot targets immediately. Otherwise the best intentions will be buried under growing avalanche of problems.</p>
<p>How to stop:</p>
<ul>
<li>quality for the customer drives all the processes &#8211; prevents temporary patches and bad for quality decisions</li>
<li>low tolerance for quality problems and immediate detection are core work principle</li>
<li>use <a href="http://en.wikipedia.org/wiki/Andon_%28manufacturing%29" title="Andon" id="uk-6">Andon</a> &#8211; a system to signal for help, notify about a problem and stop the process</li>
</ul>
<ul>
<li>build in tools and process capabilities of detecting problems and stopping itself</li>
<li>use all modern QA methods available</li>
<li>managers encourage stops to fix problems and support implementation of counter measures</li>
</ul>
<h3>Making Decisions</h3>
<p><em>&#8220;Make decisions slowly by consensus and thoroughly considering all options, implement rapidly.</em><em>&#8220;</em> &#8211; Toyota Way</p>
<p>Even knowing problems and committed to solve them, the Team should make right decisions how to do it.</p>
<p><strong>Make decisions slowly</strong></p>
<ol>
<li>Go and See (Genchi Genbutsu)</li>
<li>Understand underlying causes (Kaizen)</li>
<li>Broadly consider alternative solutions and develop a detailed rationale for preferred solution delaying certain decision as long as possible (<a href="http://6sigma.mty.itesm.mx/Toyotas.pdf" title="Set-based concurrent engineering" id="t_q_">Set-Based concurrent engineering</a>)</li>
<li>Build consensus within a team and partners where group decision is preferred (while management can step in if consensus is not achieved)</li>
<li>Use very efficient communication devices &#8211; preferably one side of one sheet of paper</li>
</ol>
<p><strong>Implement rapidly</strong></p>
<ol>
<li>Put in place solutions and counter measures.</li>
<li>Evaluate the results</li>
<li>Standardize if solution is effective.</li>
</ol>
<h3>Practices to Eliminate Waste and Solve Problems</h3>
<p id="eigf" style="text-align: left"><img src="http://softwarecreation.org/images/2009/inglorious3.jpg" style="width: 450px; height: 300px" height="300" width="450" /></p>
<h4><strong>3. Genchi Genbutsu</strong> &#8211; go and see for yourself to thoroughly understand situation</h4>
<p>How often do we jump to conclusion based on partial information, vague assumptions and what other people say? Information creates reality in your mind. This reality is a base for your decisions. So, you and the Team should get right information to make right decisions:</p>
<ul>
<li>observe situation with blank mind</li>
<li>avoid assumptions and preconceptions</li>
<li>use personally verified information</li>
</ul>
<p>In short, base decisions on what really is going on</p>
<h4><strong>4. Kaizen (5 why&#8217;s)</strong> -continuous learning and improvement</h4>
<p><em>&#8220;We view errors as opportunities for learning&#8221;</em> &#8211; Toyota Way<br />
The Team should find the root causes of the problems. Kaizen helps to find the root cause by repeatedly asking why the problem occurs.</p>
<p>Example of Kaizen<br />
Problem: there are persistent javascript errors on a live site</p>
<ol>
<li>Why? A developer didn&#8217;t build correct logic for complex web UI components interaction</li>
<li>Why? A developer built own solution without guidance and enough experience in this area</li>
<li>Why? A team expert didn&#8217;t tell about existing proven solutions, didn&#8217;t help and didn&#8217;t share knowledge</li>
<li>Why? The team is under stress, over-committed and don&#8217;t have time to communicate</li>
<li>Why? Managers accept too much work without consulting with development team</li>
<li>Why? you can continue&#8230;</li>
</ol>
<p>Kaizen forces us to overcome desire to find a first convenient explanation and patch problems without fixing root causes. By ruthlessly applying this practice, we get deeper insight into reality and better learn our product, processes, people, environment and tools. Kaizen is a core practice to see waste, solve problems and improve process.</p>
<p>To avoid forgetting learning from Kaizen, it is important to standardize the improved process and make it a base for further improvements.</p>
<h3><strong>Practices to Support Flow</strong></h3>
<p id="l36f" style="text-align: left"><img src="http://softwarecreation.org/images/2009/inglorious4.jpg" style="width: 480px; height: 318px" height="318" width="480" /></p>
<h4><strong>5. Standards</strong> &#8211; best you know today which is to be improved tomorrow</h4>
<p>Standardized work is easier, cheaper and faster &#8211; stable repeatable methods can maintain predictability, high productivity and support quality.<br />
Effective standards are not coming from theories, they come from</p>
<ul>
<li>best practices</li>
<li>accumulated learnings and individual experience</li>
<li>lessons from applying existing standards</li>
</ul>
<p>The Team should try to use standards in many areas: project phases and activities; development practices; architecture and design approaches; code conventions; tools; programming techniques; libraries and third-party code; reuse of components and solutions; testing and so on.<br />
Standardization in software development is a controversial topic &#8211; some <a href="http://en.wikipedia.org/wiki/A_Guide_to_the_Project_Management_Body_of_Knowledge" title="theorists" id="kyqe">theorists</a> want to bring programming closer to standard-dominated engineering, practitioners are keen to reduce standardization to minimum promoting creativity and self-organization. In the rigid interpretation, standards are &#8220;must to follow&#8221; rules for any situation, in other interpretation standards are well defined steps and guidelines highly recommended for specific context. I support the latter definition. A productive team should have standards in place to focus on customer needs instead of fighting with the same puzzles and problems over and over again.</p>
<p>The system of standards shouldn&#8217;t be a heavy bureaucratic conduit, but a light and fluid book of knowledge. The book that contains most helpful and important rules and checklists. Standards will be effective if they are minimal, reviewed often (Kaizen) and followed by every team member.</p>
<h4><strong>6. Reliable thoroughly tested technology </strong></h4>
<p>The Team should be conservative with new technologies. Software development and IT thrive on change and innovation. However, Toyota Way suggests to be conservative in adapting technology and considers stability and reliability of operations as much more important goal than keeping on the cutting edge of technology.</p>
<p>Considerations for using technology</p>
<ul>
<li>primary goal is to improve flow and support people, process and values.</li>
<li>process is driven by business, not technology concerns; software and tools do not eliminate themselves waste</li>
<li>technology is visual and intuitive &#8211; people can use it correctly and effectively</li>
</ul>
<ul>
<li>process manually before adapting technology to support the process &#8211; understand what problems it solves and how technology could help</li>
<li>important: people / processes are easy to Kaizen, machines are difficult</li>
</ul>
<p>Adopting new technology:</p>
<ul>
<li>new technology is unreliable and difficult to standardize, therefore it endangers flow</li>
<li>proven process takes precedence over new and untested technology</li>
<li>conduct actual tests before adapting new technology</li>
<li>reject technology if it conflicts with culture or might disrupt stability, reliability and predictability</li>
</ul>
<p>In the same time <strong>encourage people to consider new technologies</strong> while looking into new approaches. If technology improves process and flow &#8211; quickly implement after thorough testing.</p>
<h4>7. <strong>Visual Controls</strong></h4>
<p id="df5i" style="text-align: left"><img src="http://softwarecreation.org/images/2009/inglorious5.jpg" style="width: 450px; height: 302px" height="302" width="450" /></p>
<p>The Team should have clear status of information. Visual controls can convey complex information in fast and efficient for our brains way. We can use controls as a user story board; status of projects, servers or code build; burn down charts and others.<br />
Simple visual indicators help people determine immediately whether they are deviating from the standards, provide quick gist of situation and direction for solving problems.</p>
<ul>
<li>use simple and most important indicators</li>
</ul>
<ul>
<li>than provide clear picture for decisions and what to do next</li>
<li>reduce reports to one screen / piece of paper even for the most important decisions</li>
</ul>
<h3>People, leaders and teams</h3>
<p id="w7ez" style="text-align: left"><img src="http://softwarecreation.org/images/2009/inglorious6.jpg" style="width: 500px; height: 497px" height="497" width="500" /></p>
<h4><strong>8. People</strong></h4>
<p>People who build software are the people who should improve the process. They are directly involved and have first-hand experience of problems and waste.</p>
<p>Toyota Way expects that each team member is a problem solver and values job experience more than theoretical knowledge. The Team will beat any external consultants and find better way to work if people are open about problems and eager to find good solutions.</p>
<h4><strong>9. Leaders</strong></h4>
<p>The Team desperately needs strong leaders to build great products to overcome problems. Toyota grows leaders within who thoroughly understand the work, live the philosophy and must understand the daily work in great details</p>
<p><strong>Chief Engineer</strong> is a key person in Toyota projects.:</p>
<ul>
<li>blessed by top management</li>
<li>has control over project</li>
<li>exceptional engineer</li>
<li>critical link: between engineers and customer satisfaction</li>
<li>coach for other engineers</li>
<li>focus on concepts first, technicalities later</li>
</ul>
<p>Chief Engineer concept is an excellent example for software technical leadership. A software team leader often lacks authority or makes too technical decisions without good understanding of customer needs.</p>
<h4><strong>10. Teams</strong></h4>
<p>The Team should be diverse and capable of solving wide range of problems. Toyota builds cross functional product teams, which</p>
<ul>
<li>use integrative decision making</li>
<li>fast and accurate in implementation</li>
<li>enhance process and flow by solving difficult technological problems</li>
</ul>
<p>Software developers and their leaders are foundation of success in any project. Management, process and technology can only support them. And anyway, the process is as good as people follow it. Therefore, it is important to make software teams a key player in process improvements &#8211; they know problems, they understand work and they are capable to find good solutions.</p>
<h3>Using Toyota Way</h3>
<p id="n667" style="text-align: left"><img src="http://softwarecreation.org/images/2009/inglorious7.jpg" style="width: 450px; height: 450px" height="450" width="450" /></p>
<p>Can The Team revert a situation and win? Can it build the optimal process and expertise for fast development of high quality and low cost solutions?</p>
<p>This post shows the most effective option &#8211; build continuously improving process into the heart of development. The process that focuses on quality, eliminates waste and fixes problems at root cause. I believe this approach is a foundation of long term success. Your managers and company would love it!</p>
<!-- Social Buttons Shared Counts Generated by Digg Digg plugin v4.0.9, 
    Author : Yong Mook Kim
    Website : http://www.mkyong.com/blog/digg-digg-wordpress-plugin/ --><img src="http://softwarecreation.org/?ak_action=api_record_view&id=87&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://softwarecreation.org/2009/how-to-rescue-failing-software-projects-toyota-way/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to become an Expert. Embrace Reality.</title>
		<link>http://softwarecreation.org/2009/how-to-become-an-expert-embrace-reality/</link>
		<comments>http://softwarecreation.org/2009/how-to-become-an-expert-embrace-reality/#comments</comments>
		<pubDate>Tue, 12 May 2009 04:19:01 +0000</pubDate>
		<dc:creator>Andriy Solovey</dc:creator>
				<category><![CDATA[Concepts]]></category>
		<category><![CDATA[Expertise]]></category>
		<category><![CDATA[People]]></category>
		<category><![CDATA[Practices]]></category>
		<category><![CDATA[Skills]]></category>

		<guid isPermaLink="false">http://softwarecreation.org/2009/how-to-become-an-expert-embrace-reality/</guid>
		<description><![CDATA[ShareReality is merely an illusion, albeit a very persistent one &#8211; Albert Einstein
An expert have much better models of reality and methods to build them than an ordinary specialist. The expert, armed with these models, can quickly put pieces of a problem puzzle together, find explanations and solve the problem.

Models can be related to anything [...]]]></description>
			<content:encoded><![CDATA[<div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><iframe src='http://api.tweetmeme.com/button.js?url=http://softwarecreation.org/2009/how-to-become-an-expert-embrace-reality/&source=AndriySolovey&service=&service_api=&style=compact' height='20' width='90' frameborder='0' scrolling='no'></iframe></div><div class='dd_button'><a name='fb_share' type='button_count' share_url='http://softwarecreation.org/2009/how-to-become-an-expert-embrace-reality/' href='http://www.facebook.com/sharer.php'>Share</a><script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'></script></div><div class='dd_button'><script src='http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://softwarecreation.org/2009/how-to-become-an-expert-embrace-reality/'></script></div><div class='dd_button'><a title='Post on Google Buzz' class='google-buzz-button' href='http://www.google.com/buzz/post' data-button-style='small-count' data-url='http://softwarecreation.org/2009/how-to-become-an-expert-embrace-reality/'></a><script type='text/javascript' src='http://www.google.com/buzz/api/button.js'></script></div><div class='dd_button'><iframe src='http://widgets.dzone.com/links/widgets/zoneit.html?url=http://softwarecreation.org/2009/how-to-become-an-expert-embrace-reality/&amp;title=How+to+become+an+Expert.+Embrace+Reality.&amp;t=2' height='18' width='120' frameborder='0' scrolling='no'></iframe></div></div></div><div style='clear:both'></div><p><em>Reality is merely an illusion, albeit a very persistent one</em> &#8211; Albert Einstein</p>
<p>An expert have much better models of reality and methods to build them than an ordinary specialist. The expert, armed with these models, can quickly put pieces of a problem puzzle together, find explanations and solve the problem.</p>
<p id="ejcw" style="text-align: left"><img src="http://softwarecreation.org/images/2009/expert-models.jpg" width="600" height="600" /></p>
<p>Models can be related to anything &#8211; software systems, business domain or your personal relationships. <span id="more-83"></span></p>
<h3><strong>Predictions and </strong><strong>Solutions!</strong></h3>
<blockquote><p><em>A theory is a good theory if it satisfies two requirements: It must accurately describe a large class of observations on the basis of a model that contains only a few arbitrary elements, and it must make definite predictions about the results of future observations.</em></p>
<p align="right">Stephen Hawking, A Brief History of Time</p>
</blockquote>
<p>Any expert as good as he can effectively predict future outcomes and solve new unforeseen problems. Solutions and predictions are not coming out of blue. They stem from good understanding of reality in an expert&#8217;s head. Internal models of reality help to explain problems, find relations and play with future scenarios. These models establish the base for effective thinking and direct expert&#8217;s effort to solve problems. If you have poor models of reality, you will make bad decisions. Good models of reality allow reliable predictions and efficient solutions than vague guesses and ad-hoc spontaneous fixes.</p>
<p>Characteristics of a good model:</p>
<ol>
<li><strong>Explanation </strong>- provides understanding of elements, processes, events, root causes and effects</li>
<li><strong>Testable predictions </strong>- a model that makes no predictions that can be observed is not a useful model.</li>
<li><strong>Simple </strong>- you can remember and use a model without titanic effort</li>
<li><strong>Frameworks </strong>- knowledge how to recognize common patterns and deal with range of similar problems. Frameworks allow to extend and apply existing models to new situations without building new models.</li>
</ol>
<h3>Brains &#8211; the main tool of an expert</h3>
<p><em>I think, therefore I am</em> &#8211; Rene Descartes</p>
<p>An expert&#8217;s brain carry and operates with models of reality. Unfortunately, our brains are not ideal for this task. Models they create are not identical to reality. Here is why.</p>
<p><strong>limitations</strong></p>
<ul>
<li><em>perception </em>- our senses deliver to brain partial and incomplete information</li>
<li><em>memory </em>- our brains can process and memorize only fraction of available information; and even more &#8211; we quickly forget this knowledge without practice</li>
<li><em>imagination </em>- brains automatically filling gaps for missing information, substitute with interpretation based on internal representation of the outside world</li>
</ul>
<p><strong>cognitive biases</strong> (bugs in brain software)</p>
<ul>
<li><em>anchoring or priming</em> &#8211; previous irrelevant experiences prime your consequent thinking and decisions</li>
<li><em>need for closure</em> &#8211; we are uncomfortable with doubt and uncertainty; we have urge to resolve and find convenient explanations quickly without much thinking</li>
<li><em>confirmation bias</em> -  from all facts we unconsciously pick facts that confirm our beliefs and predispositions</li>
<li><em>symbolic reduction</em> &#8211; we are anxious to reduce complexity for better understanding and tend to form simplified generalizations ignoring complex details and relations.</li>
<li>and <a href="http://en.wikipedia.org/wiki/List_of_cognitive_biases" title="many others" id="fa5u">many others</a></li>
</ul>
<p><strong>social behavior</strong></p>
<ul>
<li><em>subconscious models and believes</em> &#8211; our minds carry beliefs and views imposed by our parents, teachers and culture.  These subconscious models deeply influence our models of reality without much awareness.</li>
<li><em>peer pressure, conformity</em> &#8211; our minds are wired to conform and agree with other people making us blind for inconvenient facts, ready to follow crowd and accept conventional views without critical revision</li>
</ul>
<h3><strong>Objective Reality</strong></h3>
<p><em>There are no facts, only interpretations.</em>  &#8211; Friedrich Nietzsche</p>
<p>Even smartest brains will have challenges to understand reality.</p>
<p>We deal with <strong>complex situations</strong>:</p>
<ul>
<li><em>incomplete information</em> &#8211; we rarely have access to full information and even if it is available we don&#8217;t have capacity to collect and absorb all of it</li>
<li><em>perpetual changes</em> &#8211; reality is very fluid and changes every second</li>
<li><em>complex relations and behavior</em> &#8211; complex systems are difficult to understand: causes and effects, correlations, feedback loops, influence of processes in external systems</li>
<li><em>difficult to test</em> &#8211; we often cannot afford large number of experiments, trials and errors to come up with right models and explanations</li>
</ul>
<p>We deal with <strong>people</strong> who make our reality very complicated:</p>
<ul>
<li><em>unpredictable </em>- people are difficult to predict, they are often irrational and inconsistent</li>
<li><em>confusing </em>- people cannot clearly explain their thinking and feelings or even don&#8217;t understand themselves</li>
<li><em>deceiving </em>- sometimes people have difficulty to tell truth or simply lie for own advantage</li>
</ul>
<h3><strong>Building Models</strong></h3>
<p><em>The test of a first-rate intelligence is the ability to hold two opposed ideas in the mind at the same time, and still retain the ability to function.</em> -  F. Scott Fitzgerald</p>
<p>We understand reality different ways &#8211; learning, investigating problems, finding new solutions and practicing. For years we can concentrate on solving immediate problems and do our work without attempts to understand the big picture. Many good specialists have incomplete understanding and fragmented knowledge that still allow to perform well. But it is impossible to become an expert without deep understanding and conscious effort to build good models of reality.</p>
<p>For example, we can stumble for a long time with challenges and failures in building software without understanding its <a href="http://softwarecreation.org/2007/what-is-software-development/" title="essence" id="y:mc">essence</a>  and <a href="http://softwarecreation.org/2007/human-forces-and-software-creators/" title="forces" id="iufv">forces</a>. (By the way, search for this understanding is the reason for this blog existence).</p>
<p>Potentially everything what we do in life could help to build and improve our models of reality. We just need to consciously relate our experience and learning to our understanding of reality. And we can do it on the go without special preparation, when we actively engage our minds &#8211; working, talking, reading, practicing, traveling, thinking and even sleeping. Just focus on reality modeling.</p>
<p>The models of reality could be explicit (<strong>facts and theories</strong>) and implicit (<strong>intuition and tacit knowledge</strong>).<br />
<img src="http://softwarecreation.org/images/2009/models-composition.jpg" width="300" height="300" /></p>
<p>You can use several strategies to build models in your whole mind.<br />
<strong>A. Analytical</strong></p>
<ul>
<li>find what is most important, map and connect main elements, players and subsystems; learn relations; draw Mind Maps</li>
<li>understand influence of context and main forces</li>
<li>create stories, metaphors and patterns &#8211; make your models better suited for your brain</li>
<li>repeat the process for the most important subsystems</li>
</ul>
<p><strong>B. Empirical</strong></p>
<ul>
<li>find most pressing problems, contradictions or real life facts</li>
<li>understand how do they fit into your models of reality</li>
<li>it is great if they don&#8217;t fit &#8211; you have opportunity to improve your models</li>
</ul>
<p><strong>C. Synthesis</strong> &#8211; reconcile your models with existing knowledge and leading models</p>
<ul>
<li>find what are dominating models, views and believes; what other experts think</li>
<li>critically analyze this information and theories behind</li>
<li>find the best opposing theories and try to combine them to form better model</li>
</ul>
<p><strong>D.</strong> <strong><a href="http://en.wikipedia.org/wiki/Scientific_method" title="Scientific method" id="yk9g">Scientific method</a> </strong> &#8211; use it for practical evaluation of models and confirmation of your theories.</p>
<ul>
<li>build hypothesis about reality and outcomes of your actions</li>
<li>test it in practice</li>
<li>learn from results and adjust your models</li>
</ul>
<p><strong>E. People interests and agenda</strong> &#8211; people are often most surprising and unpredictable element of reality. Your models will be much closer to reality if you understand motives, interests and agenda of involved people.<br />
<strong>F. Change perspective</strong> &#8211; switch different perspectives to enrich models &#8211; economic, emotional, social, physical, etc. Try to view from opposite viewpoints and set of principles. Imagine yourself as user of your system, investor of your company, manager, any animal, computer part, etc. (Try to get back without loosing your identity :))  Web developers have interesting concepts of <a href="http://en.wikipedia.org/wiki/Personas" title="Personas" id="dujl">Personas</a> &#8211; imaginary users with distinct behavior on website that help to design a system for various cohesive sets of needs.<br />
<strong>G.</strong> <strong><a href="http://en.wikipedia.org/wiki/Lateral_thinking" title="Lateral thinking" id="u._z">Lateral thinking</a> </strong></p>
<ul>
<li>random association &#8211; associate models with recent books, distant knowledge fields, your favorite characters</li>
<li>provocative thinking &#8211; make unacceptable, funny, stupid ways to explain problems and shock your models</li>
<li>ask &#8220;why?&#8221; &#8211; continue asking &#8216;why&#8217; until your reach questions that nobody could answer on this Earth (or the only answer is <a href="http://en.wikipedia.org/wiki/Phrases_from_The_Hitchhiker%27s_Guide_to_the_Galaxy#Answer_to_Life.2C_the_Universe.2C_and_Everything_.2842.29" title="42" id="pc2c">42</a>).</li>
<li>expand concepts borrowed from other sources to have wider horizon for ideas</li>
</ul>
<p>In overall, you will switch between <a href="http://softwarecreation.org/2008/ideas-in-software-development-revolution-vs-evolution-part-1/" title="two grand strategies" id="xpdh">two grand strategies</a> &#8211; Evolution (discover reality and adopt to it) and Revolution (breakthrough and change reality). The choice depends on models maturity, certainty and your people capabilities.</p>
<h3>Therefore</h3>
<p><em>Few people have the imagination for reality.</em>  &#8211; Johann Wolfgang von Goethe</p>
<p>You can be certain that reality in your head is different from objective reality, which is complex, changing and controversial. Effective experts don&#8217;t have choice and master reality by<br />
1. Accepting own limitations in understanding of elusive reality<br />
2. Building good models of reality applying different strategies<br />
3. Using, testing and improving models in practice</p>
<p>Good models of reality will make your thinking, decisions and solutions much better. They will make you a master of reality instead of a victim of reality. Good luck with embracing reality!<br />
<strong>References:</strong><br />
<a href="http://www.amazon.com/gp/product/1422118924?ie=UTF8&amp;tag=softwcreatmys-20&amp;linkCode=xm2&amp;camp=1789&amp;creativeASIN=1422118924" title="The Opposable Mind: How Successful Leaders Win Through Integrative Thinking" id="ri0p">The Opposable Mind: How Successful Leaders Win Through Integrative Thinking</a> , by Roger L. Martin<br />
<a href="http://www.amazon.com/gp/product/1934356050?ie=UTF8&amp;tag=softwcreatmys-20&amp;linkCode=xm2&amp;camp=1789&amp;creativeASIN=1934356050" title="Pragmatic Thinking and Learning: Refactor Your Wetware" id="n9_c">Pragmatic Thinking and Learning: Refactor Your Wetware</a>, by Andy Hunt</p>
<!-- Social Buttons Shared Counts Generated by Digg Digg plugin v4.0.9, 
    Author : Yong Mook Kim
    Website : http://www.mkyong.com/blog/digg-digg-wordpress-plugin/ --><img src="http://softwarecreation.org/?ak_action=api_record_view&id=83&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://softwarecreation.org/2009/how-to-become-an-expert-embrace-reality/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to Become an Expert. The Effective Way.</title>
		<link>http://softwarecreation.org/2009/how-to-become-an-expert-the-effective-way/</link>
		<comments>http://softwarecreation.org/2009/how-to-become-an-expert-the-effective-way/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 22:09:28 +0000</pubDate>
		<dc:creator>Andriy Solovey</dc:creator>
				<category><![CDATA[Expertise]]></category>
		<category><![CDATA[Job]]></category>
		<category><![CDATA[Practices]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Skills]]></category>

		<guid isPermaLink="false">http://softwarecreation.org/2009/how-to-become-an-expert-the-effective-way/</guid>
		<description><![CDATA[Shareexperts are made, not born &#8211; Scientific American
  Disclaimer: This post is devoted to a person who wants to become an expert &#8211; the top player in a specific field as programming, soccer or chess. This post will be not interesting for people who are satisfied with their current performance and not interested to [...]]]></description>
			<content:encoded><![CDATA[<div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><iframe src='http://api.tweetmeme.com/button.js?url=http://softwarecreation.org/2009/how-to-become-an-expert-the-effective-way/&source=AndriySolovey&service=&service_api=&style=compact' height='20' width='90' frameborder='0' scrolling='no'></iframe></div><div class='dd_button'><a name='fb_share' type='button_count' share_url='http://softwarecreation.org/2009/how-to-become-an-expert-the-effective-way/' href='http://www.facebook.com/sharer.php'>Share</a><script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'></script></div><div class='dd_button'><script src='http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://softwarecreation.org/2009/how-to-become-an-expert-the-effective-way/'></script></div><div class='dd_button'><a title='Post on Google Buzz' class='google-buzz-button' href='http://www.google.com/buzz/post' data-button-style='small-count' data-url='http://softwarecreation.org/2009/how-to-become-an-expert-the-effective-way/'></a><script type='text/javascript' src='http://www.google.com/buzz/api/button.js'></script></div><div class='dd_button'><iframe src='http://widgets.dzone.com/links/widgets/zoneit.html?url=http://softwarecreation.org/2009/how-to-become-an-expert-the-effective-way/&amp;title=How+to+Become+an+Expert.+The+Effective+Way.&amp;t=2' height='18' width='120' frameborder='0' scrolling='no'></iframe></div></div></div><div style='clear:both'></div><p><em>experts are made, not born &#8211; </em><a href="http://www.sciam.com/article.cfm?id=the-expert-mind" id="vu87" title="Scientific American">Scientific American</a></p>
<p><small>  <strong>Disclaimer:</strong> This post is devoted to a person who wants to become an expert &#8211; the top player in a specific field as programming, soccer or chess. This post will be not interesting for people who are satisfied with their current performance and not interested to be the best. </small></p>
<p><img src="http://softwarecreation.org/images/2009/kasparov.jpg" /></p>
<p>If you want to become an expert, it is not enough to follow your work assignments or occasionally play with interesting stuff at home. You have to push yourself hard in specially designed way.</p>
<p><strong>@Work</strong><br />
Your paid work tasks and projects are not designed to make you an expert. Your company expects results from your work: reliable, with minimal mistakes and focused on the company main goal &#8211; make money. Your employer could provide minimal training to help you with job requirements. However, your growth will be constrained by company needs, timelines, work assignments and acceptable methods. We cannot blame our organizations &#8211; this is part of the deal &#8211; they pay for your work and expect specific results. But&#8230; is this the best way for you to become an expert, acquire new skills and gain knowledge? To become an expert, you have to make many mistakes, learn from them, experiment with alternatives and work hard on your weaknesses. How many organizations do allow this risky, unproductive and unreliable way of working?</p>
<p><strong>@Home</strong><br />
Your play at home with interesting stuff has problems too. To satisfy your programming instincts and curiosity, you will probably select what you enjoy to do and eager to try. You&#8217;ll immense in this activity and find great satisfaction from doing it. But&#8230;  is this the best way to become an expert by doing only what you like? Becoming an expert requires hard, sometimes unpleasant work, specifically designed to improve your performance and push you over comfort zone. <span id="more-81"></span></p>
<h3><strong>Genesis of an expert</strong></h3>
<p><img src="http://softwarecreation.org/images/2009/kasparovyoung.jpg" /></p>
<p>Research shows that experts <a href="http://projects.ict.usc.edu/itw/gel/EricssonDeliberatePracticePR93.pdf">do not have more innate talent</a>, but put more effort and dedication. Newcomers to the field <a href="http://www.time.com/time/health/article/0,8599,1717927,00.html" id="ipzg">need at least 10 years</a> to become an expert. They move through <a href="http://en.wikipedia.org/wiki/Dreyfus_model_of_skill_acquisition" title="several stages" id="ur5d">several stages</a>: from a novice, who blindly follows rules, to an expert, who does not need rules.<br />
Most people will stop on the level of competent specialist acceptable for the majority of jobs in the field. Only few will continue pushing forward to achieve the top level.</p>
<blockquote><p>  <em>We agree that expert performance is qualitatively different from normal performance and even that expert performers have characteristics and abilities that are qualitatively different from or at least outside the range of those of normal adults. However, we deny that these differences are immutable, that is, due to innate talent. Only a few exceptions, most notably height, are genetically prescribed. Instead, we argue that the differences between expert performers and normal adults reflect a life-long period of deliberate effort to improve performance in a specific domain</em>. &#8211; <a href="http://projects.ict.usc.edu/itw/gel/EricssonDeliberatePracticePR93.pdf" id="pxqg" title="Anders Ericsson">Anders Ericsson</a></p></blockquote>
<blockquote><p>  <em>Even the novice engages in effortful study at first, which is why beginners so often improve rapidly in playing golf, say, or in driving a car. But having reached an acceptable performance&#8211;for instance, keeping up with one&#8217;s golf buddies or passing a driver&#8217;s exam&#8211;most people relax. Their performance then becomes automatic and therefore impervious to further improvement. In contrast, experts-in-training keep the lid of their mind&#8217;s box open all the time, so that they can inspect, criticize and augment its contents and thereby approach the standard set by leaders in their fields. </em><em> &#8211; </em><a href="http://www.sciam.com/article.cfm?id=the-expert-mind" id="vu87" title="Scientific American">Scientific American</a></p></blockquote>
<p>Kathy Sierra <a href="http://headrush.typepad.com/creating_passionate_users/2006/03/how_to_be_an_ex.html" id="rwk5" title="wrote">wrote</a> that you, to become an expert who kicks ass, should keep reminding: <em>&#8220;I&#8217;ll keep pushing myself. There&#8217;s always some way to do it better&#8230;&#8221;</em>. How should we push ourselves?</p>
<p>If you do same tasks over and over again, you will not become an expert. If you do what you are good at, you will not improve your overall performance. You should focus on improving skills beyond your present competence. <strong>Outcome of your practice as not as important as developing your capabilities.</strong><br />
You can spend years doing your favorite activities and still stay at amateur level while dedicated novice can quickly leave you behind. <strong>Practice should concentrate around your weaknesses</strong> and areas that are important, but you probably try to avoid. You should repeatedly progress to the higher level through persistent training and overcome your limits.</p>
<p>Anders Ericsson (his research is the most influential in this area) calls this approach <strong>deliberate practice</strong>:</p>
<blockquote><p> &#8220;Deliberate practice is different. It entails considerable, specific, and sustained efforts to do something you can&#8217;t do well-or even at all. Research across domains shows that it is only by working at what you can&#8217;t do that you turn into the expert you want to become.&#8221;</p></blockquote>
<h3>  <strong>Design your practice</strong></h3>
<p><img src="http://softwarecreation.org/images/2009/kasparov1.jpg" /></p>
<p>Follow 7 steps</p>
<p><strong>1. Who is an expert?</strong><br />
You should understand what is the profile of an expert that you want to be &#8211; required capabilities, knowledge, areas of expertise and types of the problems experts work on.<br />
Have a beer with guru and ask for opinion (early enough), study job advertisements for high skilled positions (don&#8217;t be carried away), read about top players &#8211; why they are considered experts, what makes them special (skip part how they spend money) and how they achieved top level.<br />
<strong><br />
2. Find your gaps and weaknesses.</strong><br />
You can identify areas which require improvement once you know the profile of the ideal expert. Put them on the list and assign importance.</p>
<p><strong>3. Build roadmap.</strong><br />
Answer the questions: in what order you want to work on these areas and what are the major steps.<br />
Instead of focusing for a long time on one area, I would recommend to go in spiral &#8211; learn and practice various areas in parallel. Each spiral cycle should add to your experience small, but integral chunk of core expertise. Often developing diverse skills together brings synergy &#8211; deeper perspective, holistic view and increased capabilities for wider range of tasks.</p>
<p><strong>4. Design practice to improve performance </strong><br />
Set specific goals and methods &#8211; how do you improve performance, gain skills and knowledge for each area.<br />
Consider famous <a href="http://en.wikipedia.org/wiki/SMART_%28project_management%29" id="mkny" title="SMART goals">SMART goals</a> for practice: specific, measurable, achievable, relevant, time-boxed. Coach, who can effectively guide you, is very helpful on this stage. However, you can go alone if you are motivated and disciplined enough.<br />
Don&#8217;t burn yourself too much &#8211; your mind and body should be ready and eager to practice. Give yourself time for recovery, life and other favorite activities, otherwise you&#8217;ll soon hate your practice.</p>
<p><strong>5. Everyday practice on the edge of capabilities &#8211; at least 30 minutes</strong><br />
Deliberate practice is highly demanding and requires intensive concentration and focus. The practice should be scheduled, clear and focused &#8211; don&#8217;t give yourself chances to procrastinate. Concentrate on the excellence of execution &#8211; sloppy practice is not acceptable for top players. You should practice challenging tasks on the edge of your capabilities. Compare playing basketball with professional players or beginner kids from the neighborhood. Who will push you more and show how good you are?<br />
Observe and understand how and what you do &#8211; this process will develop intuition and patterns in your brains for future fast automatic decision making. Train yourself to think and act on the higher level &#8211; what is difficult for other people, should be trivial for you.</p>
<p><strong>6. Feedback</strong><br />
Constant feedback loop is the must in deliberate practice. Correct assessment of performance and results with following adjustment of practice will move you much faster. And certainly, interested and qualified coach capable of giving constructive and painful feedback is very important. Each day of practice should move you forward against higher and higher standards.</p>
<p><strong>7. Correct your roadmap and practice.</strong><br />
Feedback, self-evaluation and practical use of your skills will tell if you are on the right track. Be fluid and open for change of direction, new knowledge and unexpected opportunities. Learn and adjust goals, plans and methods on the go. As Eisenhower said: plans are nothing, planning is everything. Your rise as an expert will open for you new horizons that definitely change your plans and original intentions.</p>
<p>Additional Requirements</p>
<ul>
<li> <strong>Discipline, motivation, unsatisfaction</strong> &#8211; top experts are extremely dedicated, disciplined and motivated to grow and improve performance. Without the goal of improving performance, the motivation to engage in practice vanishes, and practice becomes boring routine.</li>
<li> <strong>Support</strong> &#8211; you&#8217;ll have ups and downs, moments of despair and disbelief. You need somebody who can understand, compassionate and encourage &#8211; friends, family, colleagues or a coach.</li>
</ul>
<h3>Deliberate practice in context</h3>
<p><img src="http://softwarecreation.org/images/2009/karpov-kasparov1987.jpg" /></p>
<p><strong>Practice @Work</strong><br />
Deliberate practice methods and work objectives are different. However, it is possible to grow as an expert and work productively.</p>
<ul>
<li> First, your company could have work in target areas of your expertise growth. Position yourself to take advantage of any opportunity to move there.</li>
<li> Second, any company will benefit from motivated and competent player, who wants to grow his capabilities. A smart company will support and encourage your drive&#8230; and use for own benefits.</li>
</ul>
<p>Strategy:</p>
<ol>
<li>  <strong>Job intelligence</strong> &#8211; what are opportunities, potential projects and tasks to assist with your progress as an expert? How can your help your company while upgrading your skills? Invent new opportunities. You have to build case for your advance and show benefits for the company.</li>
<li>  <strong>Call for the job redesign</strong> &#8211; many companies will be flexible for people who wants to progress and contribute more (if no, maybe you are in the wrong place)</li>
<li>  <strong>Productive work and intensive practice</strong> &#8211; work in the best way to help with your goals, but don&#8217;t make a company victim of your practice. Separate prototyping and experiments from production work. Make them open, controllable with a clear statement of benefits. Seek for challenging assignments on the edge of your capabilities.</li>
<li>  <strong>Tap into company pool of talents, expertise and knowledge</strong> &#8211; this is free (actually paid) opportunity to use coaching and valuable resources for growth acceleration. Ask for advises, guidance and feedback.</li>
</ol>
<p>You will find, as your star is rising (expertise growing), that you have more freedom to work in areas that have the most interest for you.</p>
<p><strong>Practice @Home, @Train or @Cafe</strong><br />
This is time for</p>
<ul>
<li>  research, learning, thinking</li>
<li>  crazy experiments</li>
<li>  irrelevant to your work practice</li>
<li>  practice that need special focus, time and conditions, difficult to achieve at work</li>
</ul>
<p><strong>Formal training</strong><br />
Qualified and relevant training can move you much faster. If you decide to invest in education be very specific what you expect and make sure that you&#8217;ll not waste your time.</p>
<p><strong>Sample Road to become Web Development Expert<br />
</strong>You can identify few key areas<strong>:<br />
</strong></p>
<ul>
<li>HTML / CSS</li>
<li>Graphic Design / Art</li>
<li>Usability / Aesthetics</li>
<li>Information Architecture</li>
<li>Client &#8211; side programming / javascript / AJAX</li>
<li>RIA (e.g. Silverlight / Flash)</li>
<li>Server &#8211; side programming and databases</li>
</ul>
<p>And design practice for each of them, for example:</p>
<table border="1" cellpadding="3" cellspacing="0">
<tr>
<td><strong>Area</strong></td>
<td><strong>Strategic Importance<br />
(or why I need this)</strong></td>
<td><strong>Expertise Gaps</strong></td>
<td><strong>Practice / Learning Goals</strong></td>
<td><strong>Actions</strong></td>
</tr>
<tr>
<td>HTML/CSS</td>
<td>core for building web sites</td>
<td>lack of experience with advanced css and layouts</td>
<td>master css, be comfortable with building any complex layouts</td>
<td>phase 1:<br />
<strong>@work</strong>:</p>
<ul>
<li>build myself CSS for assignments at work</li>
<li>seek guidance of senior web designer</li>
<li>learn company&#8217;s best practices</li>
</ul>
<p><strong>@home</strong>:</p>
<ul>
<li>learn advanced online css guides</li>
<li>read CSS Mastery book</li>
<li>absorb leading composition styles</li>
<li>dissect <a href="http://www.csszengarden.com/" title="CSS Zen Garden" id="df5.">CSS Zen Garden</a> designs</li>
<li>find interesting designs and build complex CSS layouts for them, make them better</li>
</ul>
</td>
</tr>
</table>
<h3><strong>Experts: Executive Summary</strong></h3>
<p>Experts are essential for the company/team competitive advantage. They <a href="http://softwarecreation.org/2008/ideas-in-software-development-revolution-vs-evolution-part-1" title="enable revolutions and support evolution" id="fu6g">enable revolutions and support evolution</a>.</p>
<p>Experts are made, not born.<strong> Experts are made by themselves.</strong> It is a long, thorny and hard road. But this road makes their life interesting, positive, meaningful and brings <a href="http://softwarecreation.org/2008/the-happiness-programmers-edition/" title="happiness" id="r8q4">happiness</a> from achieving a rare gift &#8211; mastery in the field they love.</p>
<p>Albert Camus said: <strong id="wn530">But what is happiness except the simple harmony between a man and the life he leads?</strong></p>
<p>For few people the harmony is a journey to become The Master.</p>
<p><img src="http://softwarecreation.org/images/2009/kasparov-happy.jpg" /></p>
<p><strong>Resources:</strong><br />
<a href="http://www.sciam.com/article.cfm?id=the-expert-mind" title="The Expert Mind">The Expert Mind</a> , Scientific American<br />
<a href="http://headrush.typepad.com/creating_passionate_users/2006/03/how_to_be_an_ex.html" title="How to be an expert">How to be an expert</a> , Kathy Sierra<br />
<a href="http://projects.ict.usc.edu/itw/gel/EricssonDeliberatePracticePR93.pdf" title="The Role of Deliberate Practice in the Acquisition of Expert Performance">The Role of Deliberate Practice in the Acquisition of Expert Performance</a>, K. Anders Ericsson, Ralf Th. Krampe, and Clemens Tesch-Romer</p>
<!-- Social Buttons Shared Counts Generated by Digg Digg plugin v4.0.9, 
    Author : Yong Mook Kim
    Website : http://www.mkyong.com/blog/digg-digg-wordpress-plugin/ --><img src="http://softwarecreation.org/?ak_action=api_record_view&id=81&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://softwarecreation.org/2009/how-to-become-an-expert-the-effective-way/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>The Elements of Pragmatic Programming Style. Composition.</title>
		<link>http://softwarecreation.org/2009/the-elements-of-pragmatic-programming-style-composition/</link>
		<comments>http://softwarecreation.org/2009/the-elements-of-pragmatic-programming-style-composition/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 02:25:56 +0000</pubDate>
		<dc:creator>Andriy Solovey</dc:creator>
				<category><![CDATA[Concepts]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Practices]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Skills]]></category>

		<guid isPermaLink="false">http://softwarecreation.org/2009/the-elements-of-pragmatic-programming-style-composition/</guid>
		<description><![CDATA[ShareA really great talent finds its happiness in execution. &#8211; Johann Wolfgang von Goethe
 
source
Qualities of well composed code:

  Quick discovery and understanding of programming logic and components
  Clear organization (for human brains)
  Ease of reuse, modification and evolution
  Close connection between customer ideas and system implementation


Style Components:

Intention - understand your [...]]]></description>
			<content:encoded><![CDATA[<div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><iframe src='http://api.tweetmeme.com/button.js?url=http://softwarecreation.org/2009/the-elements-of-pragmatic-programming-style-composition/&source=AndriySolovey&service=&service_api=&style=compact' height='20' width='90' frameborder='0' scrolling='no'></iframe></div><div class='dd_button'><a name='fb_share' type='button_count' share_url='http://softwarecreation.org/2009/the-elements-of-pragmatic-programming-style-composition/' href='http://www.facebook.com/sharer.php'>Share</a><script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'></script></div><div class='dd_button'><script src='http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://softwarecreation.org/2009/the-elements-of-pragmatic-programming-style-composition/'></script></div><div class='dd_button'><a title='Post on Google Buzz' class='google-buzz-button' href='http://www.google.com/buzz/post' data-button-style='small-count' data-url='http://softwarecreation.org/2009/the-elements-of-pragmatic-programming-style-composition/'></a><script type='text/javascript' src='http://www.google.com/buzz/api/button.js'></script></div><div class='dd_button'><iframe src='http://widgets.dzone.com/links/widgets/zoneit.html?url=http://softwarecreation.org/2009/the-elements-of-pragmatic-programming-style-composition/&amp;title=The+Elements+of+Pragmatic+Programming+Style.+Composition.&amp;t=2' height='18' width='120' frameborder='0' scrolling='no'></iframe></div></div></div><div style='clear:both'></div><p id="ua_7" style="padding: 1em 0pt; text-align: left"><em><span class="huge">A really great talent finds its happiness in execution.</span></em> &#8211; <span class="bodybold">Johann Wolfgang von Goethe</span></p>
<p id="ua_7" style="padding: 1em 0pt; text-align: left"> <img src="http://softwarecreation.org/images/2009/architect.png" /></p>
<p><a href="http://upload.wikimedia.org/wikipedia/commons/thumb/f/fb/Architect.png/485px-Architect.png" class="photocredit">source</a></p>
<p>Qualities of well composed code:</p>
<ol>
<li>  Quick discovery and understanding of programming logic and components</li>
<li>  Clear organization (for human brains)</li>
<li>  Ease of reuse, modification and evolution</li>
<li>  Close connection between customer ideas and system implementation</li>
</ol>
<p><span id="more-80"></span></p>
<p>Style Components:</p>
<ul>
<li><strong><a href="http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-intention/">Intention</a> </strong>- understand your task and how to get it done</li>
<li><strong><a href="http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-approach">Approach</a> </strong>- basic principles of writing code</li>
<li><strong>Composition </strong>- organization of code</li>
<li><strong>Expression </strong>- expressing ideas in code</li>
<li><strong>Object Oriented Pragmatic Style</strong></li>
</ul>
<p style="margin-top: 30px; margin-bottom: 0px">  <strong>1. Design for customer problems<br />
</strong>Make the customer problem space a core for the software system design. Make every line of code accountable for solving customer needs. It is true that any software system requires a lot of plumbing beyond pure implementation of customer needs. However, technology concerns shouldn&#8217;t prevail. High-level languages and modern programming platforms give us a power to concentrate on customer problems more than on solving technical problems.</p>
<p style="margin-top: 0px; margin-bottom: 0px"> Code could be divided into two categories:</p>
<ul>
<li>  <strong>customer oriented</strong> &#8211; solves customer problems directly, e.g. implementing domain logic, UI interactions and display of information;</li>
<li>  <strong>system oriented</strong> &#8211; solves technical and application specific problems &#8211; data access, event handling, interfaces between subsystem, utilities and other code required for using libraries, systems and platforms.</li>
</ul>
<p style="margin-top: 0px; margin-bottom: 0px">Customer-oriented code brings most value and should be primary design concern.  System-oriented code puts in place infrastructure and support for running customer oriented code.</p>
<p style="margin-top: 0px; margin-bottom: 0px"> <em>Therefore, start with design of customer-oriented code and support it with minimal system-oriented code.</em> This doesn&#8217;t mean that system-oriented code is not important. Complex system environments, sophisticated user interfaces and challenging non-functional requirements (performance, availability, reliability, etc.) could demand major system-oriented development effort. But still customers needs should pull and direct this effort and the whole implementation.<br />
There are many ways to make technical problems dominant over customer problems:</p>
<ol>
<li> Making predetermined technical decisions (databases, programming platforms, messaging systems, expensive middle tier etc.) without considering simpler alternatives.</li>
<li>  Coming up with complex up-front design instead of evolving a simple design into optimal design.</li>
<li>  Starting programming around interesting technical problems forgetting what is important for a customer.</li>
<li>  Building frameworks and system-oriented code before writing code for immediate customer problems.</li>
</ol>
<p>For a example, some teams could start with this picture in mind stretching customer requirements to fit it (even for relatively simple applications).</p>
<p id="faph" style="padding: 1em 0pt; text-align: left"><img src="http://softwarecreation.org/images/2009/microsoft-esb.png" width="60%" height="60%" /></p>
<p> <a href="http://msdn.microsoft.com/en-us/library/bb264584.aspx" class="photocredit">source</a><br />
<strong>2. </strong><strong>Organize and evolve code around domain concepts and customer ideas</strong><br />
Make system design reflecting customer domain and problem space. Keep customer ideas and system implementation connected and synchronized all the time. This is as important as refactoring practice for effective creation of the software system.<br />
<a href="http://domaindrivendesign.org/" title="Domain-driven design" id="myqk">Domain-driven design</a> is an excellent way to build software systems. It puts emphasis on ubiquitous language, distilled domain knowledge and shared domain models that drive software development.</p>
<p><strong>3. Think as a customer<br />
</strong><em>What we see depends mainly on what we look for</em> &#8211; John Lubbock<br />
A programmer often considers programming as an opportunity for solving interesting technical problems. Often a programmer even doesn&#8217;t understand what customers really want. There are 2 consequences. First, the programmer is not interested in simpler solutions focused on the customer problem. Second, the programmer is missing coherent view on the customer problems and purpose of the software system. Over-engineered, complex and misaligned code is one of the most serious problems in software development. An army of business analysts, stressed project managers and smart customer proxies will not force indifferent and ignorant programmers to write code in the best interest of customer.<br />
The programmer should constantly ask himself: &#8220;Will this solution work for my customer?&#8221;. To give correct answer on this simple question the programmer should understand a lot &#8211; customer language, needs, problems, a big picture and business purpose.</p>
<p>Certainly, it is difficult to think as a customer if you are at the bottom of software creation chain:</p>
<ul>
<li> separated from a customer by project and product managers, architects, designers, consultants, experts and panels of stakeholders</li>
<li>  pressed by the heavy process, rigid organization structure and inability to make decisions</li>
<li>  fed with over-processed, distorted and disjointed doses of information coming down through long chain</li>
</ul>
<p>Beautiful software ideas <a href="http://softwarecreation.org/2008/how-a-beautiful-software-system-becomes-frankenstein/" title="can turn into monster applications" id="b2hi">can turn into monster applications</a> &#8211; unusable and disconnected from real needs. Did you feel (as a user) frustrated by complex confusing and irrational program screens and logic? Yes, we, programmers, can easily produce bad stuff if we cannot think as people who need our systems.</p>
<p><strong>4. Sketch programming ideas with unit tests.</strong><br />
Write unit tests first. Any programmer should understand what he is trying to solve with the new code and how it will be used &#8211; possible input, expected output and public interface. A programmer should think about behavior in isolation, under border conditions or within context of existing code. An unit test is an excellent place to sketch nonexistent code, play with it without compilation and see if it is convenient and makes sense. Once the programmer likes sketched ideas in unit tests, he just need to build simple implementation to satisfy these unit tests. The process of writing unit tests focuses a programmer on solving customer problems, understanding code intent and making optimal design decisions. As an additional side effect, the programmer receives comprehensive suite of automated regression tests and executable specifications.</p>
<p>For a example,<br />
<code><br />
CustomerDB.Save(TEST_USER, TEST_PWD)<br />
Customer customer = CustomerDB.Login(TEST_USER, TEST_PWD);<br />
Assert.IsNotNull(customer, "customer should be logged in");<br />
customer.Purchase(TEST_PRODUCT);<br />
List&lt;Order&gt; orders = OrderDB.LoadFor(customer) or maybe... customer.Orders //what is better?<br />
Assert.AreEqual(1, orders.Count, "count");<br />
</code><br />
There are many design decision are made in this unit test without writing any production code. And now programmer can concentrate on implemention without throes of creation.</p>
<p><strong>5. Eliminate duplication</strong><br />
<em>Simplification is ultimate sophistication</em> &#8211; da Vinci<br />
Elimination of duplication is the moving force of evolutionary design. This is straightforward and powerful method to grow an optimal system. Duplication in the code tells that you need better design. Many interesting design ideas are born from the simple need to eliminate duplication in the growing system. These ideas are based on deeper understanding and gained experience as oppose to speculative up-front design ideas.<br />
The main goals of removing duplication are</p>
<ul>
<li>  reduce code</li>
<li>  simplify solution</li>
<li>  make the system more manageable for programmers&#8217; minds.</li>
</ul>
<p>Some sources of duplication:</p>
<ul>
<li>  copy and paste &#8211; <a href="http://softwarecreation.org/2008/a-few-words-in-defense-of-copy-and-paste-programming/" title="acceptable only temporary" id="ml24">acceptable only temporary</a></li>
<li>  similar logic different in details &#8211; generalization is required</li>
<li>  another implementation for the same problem &#8211; better team communication and reuse are required</li>
</ul>
<p><em>Master the core skill of good evolutionary designers &#8211; how to detect and eliminate duplication.</em><br />
The knowledge of design patterns is the most useful on this step. The <a href="http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-approach/" id="ucd5" title="initial simple solution">initial simple solution</a> rarely requires design patterns. But as a system grows, design patterns can effectively and elegantly solve new complex design problems.<br />
Example of elimination of high level duplication with Template method design pattern<br />
This code was used in many data access classes almost the same way, but with different inner steps</p>
<pre>
        using (SqlConnection conn = NewSqlConnection())

        {

            SqlCommand cmd = conn.CreateCommand();

            cmd.CommandType = CommandType.StoredProcedure;

            cmd.CommandText = "SearchCustomers";

            cmd.Parameters.Add(new SqlParameter("@city", city));

            ... //long list of parameters

            conn.Open();

            try

            {

                using (SqlDataReader reader = cmd.ExecuteReader())

                {

                    foreach (DbDataRecord record in reader)

                        customers.Add(new Customer(record["id"], record["name"]))

                }

            }

            catch (Exception e)

            {

                //error handling logic here

            }

        }</pre>
<p>The common logic could be moved into one template method with placeholders for different steps:</p>
<pre>
List&lt;Customer&gt; customers =  LoadRecordsFromSP&lt;Customer&gt;("SearchCustomers",

    (SqlCommand cmd) =&gt; {

         cmd.Parameters.Add(new SqlParameter("@city", city));

         ...     //long list of parameters

    },

    (DbDataRecord record) =&gt; { new Customer(record["id"], record["name"]); }

);</pre>
<p><strong>6. Reduce code smells</strong><br />
Write code that doesn&#8217;t smell. Train your sense of smell for code and design problems. They will provide hints where code is probably bad.<br />
These are common bad smells<span class="mw-headline"></span> from <a href="http://wiki.java.net/bin/view/People/SmellsToRefactorings" id="e9im" title="a long list">a long list</a></p>
<ul>
<li>  Duplicated code</li>
<li>  Large method</li>
<li>  Large class</li>
<li>  Long parameter list</li>
<li>  Dead Code</li>
<li>  Over-generalized code</li>
<li>  Lazy class</li>
</ul>
<p><strong>7. Use design patterns and abstractions to make code simpler</strong><br />
Learn <a href="http://en.wikipedia.org/wiki/Design_pattern_%28computer_science%29" title="design patterns" id="j72i">design patterns</a>. At some level of complexity they will provide excellent solutions and simplify design.<br />
However, wrong abstractions and over used design patterns will make code more complex and less manageable. So, apply them carefully.</p>
<p><strong>8. Decouple and isolate components</strong><br />
<em>Only talk to your immediate friends; Don&#8217;t talk to strangers</em> &#8211; <a href="http://www.ccs.neu.edu/research/demeter/demeter-method/LawOfDemeter/general-formulation.html" title="Law of Demeter" id="z1sj">Law of Demeter</a>.<br />
Reduce connections between programming units &#8211; subsystems, modules and objects &#8211; as much as possible. More relations between components make software system more complex and rigid. Decoupled and isolated system components have significant benefits:</p>
<ul>
<li><strong>better understanding</strong> &#8211; easier to keep in memory and make sense for less states and relations</li>
<li><strong>increased reuse</strong> &#8211; components with minimal well-defined public interface and relations less dependent on context and can be used in many scenarios</li>
<li><strong>decreased breakdowns</strong> &#8211; caused by unpredictable run-time combination of relations</li>
<li><strong>effective testing</strong> &#8211; highly connected system require much more testing beyond isolated testing of components</li>
</ul>
<p id="e0-1" style="padding: 1em 0pt; text-align: left"><img src="http://softwarecreation.org/images/2009/predictability.gif" /></p>
<p><strong>9. Keep related code together</strong><br />
Put related code to the same package. It will enhance</p>
<ul>
<li>  <strong>discovery </strong>- easier to find and reuse</li>
<li>  <strong>design </strong>- allows isolation, minimal interactions and consistent structure for related components</li>
<li>  <strong>maintenance and testing </strong>- reduce effect of new changes to fewer packages and system components.</li>
</ul>
<p>There are two package approaches: <strong><br />
</strong></p>
<ul>
<li>  <strong>Feature</strong> &#8211; code related to the same problem placed together</li>
<li>  <strong>Application layers</strong> &#8211; code for similar programming concepts</li>
</ul>
<p>Benefits of packaging:</p>
<ul>
<li>  Feature: related code in one place, changes together and form self-sufficient granule for reuse and release</li>
<li>  Application: separation of concerns, logical layering and reduced dependencies,  consistent global structure</li>
</ul>
<p id="f-z:" style="padding: 1em 0pt; text-align: left"><img src="http://softwarecreation.org/images/2009/packaging.jpg" width="500" height="500" /></p>
<h3>  Composing the program &#8211; Putting Things Together</h3>
<ol>
<li>Understand what customer wants and form <a href="http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-intention/" id="i2c6" title="intent">intent</a>.</li>
<li>Translate customer ideas into programming concepts (technology, platform and language, UI, libraries, components)</li>
<li>Make them simple, minimal and clear with pragmatic <a href="http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-approach/" id="v-gg" title="approach">approach</a>.</li>
<li>Organize code around domain concepts and customer needs; use domain-driven design.</li>
<li>Describe UI ideas with paper sketches</li>
<li>Specify program ideas with automated unit tests.</li>
<li>Merge UI and program ideas</li>
<li>Package related ideas together, isolate subsystems and components</li>
<li>Express ideas in code and UI screens</li>
<li>Remove duplication and bad code smells; improve design; consider using design patterns</li>
<li>Evolve and refactor common code into framework; emerge layers and abstractions for similar concepts</li>
</ol>
<!-- Social Buttons Shared Counts Generated by Digg Digg plugin v4.0.9, 
    Author : Yong Mook Kim
    Website : http://www.mkyong.com/blog/digg-digg-wordpress-plugin/ --><img src="http://softwarecreation.org/?ak_action=api_record_view&id=80&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://softwarecreation.org/2009/the-elements-of-pragmatic-programming-style-composition/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A Few Words In Defense of Copy And Paste Programming</title>
		<link>http://softwarecreation.org/2008/a-few-words-in-defense-of-copy-and-paste-programming/</link>
		<comments>http://softwarecreation.org/2008/a-few-words-in-defense-of-copy-and-paste-programming/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 04:48:20 +0000</pubDate>
		<dc:creator>Andriy Solovey</dc:creator>
				<category><![CDATA[Practices]]></category>

		<guid isPermaLink="false">http://softwarecreation.org/2008/a-few-words-in-defense-of-copy-and-paste-programming/</guid>
		<description><![CDATA[Share
I was always against Copy and Paste programming. I condemned people who use this practice as discrediting the honorable profession of The Programmer. This evil activity inflates application code without adding anything useful. This shameful practice causes various complications &#8211; more code, more things to remember, needless complexity, and difficulty to manage and synchronize related [...]]]></description>
			<content:encoded><![CDATA[<div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><iframe src='http://api.tweetmeme.com/button.js?url=http://softwarecreation.org/2008/a-few-words-in-defense-of-copy-and-paste-programming/&source=AndriySolovey&service=&service_api=&style=compact' height='20' width='90' frameborder='0' scrolling='no'></iframe></div><div class='dd_button'><a name='fb_share' type='button_count' share_url='http://softwarecreation.org/2008/a-few-words-in-defense-of-copy-and-paste-programming/' href='http://www.facebook.com/sharer.php'>Share</a><script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'></script></div><div class='dd_button'><script src='http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://softwarecreation.org/2008/a-few-words-in-defense-of-copy-and-paste-programming/'></script></div><div class='dd_button'><a title='Post on Google Buzz' class='google-buzz-button' href='http://www.google.com/buzz/post' data-button-style='small-count' data-url='http://softwarecreation.org/2008/a-few-words-in-defense-of-copy-and-paste-programming/'></a><script type='text/javascript' src='http://www.google.com/buzz/api/button.js'></script></div><div class='dd_button'><iframe src='http://widgets.dzone.com/links/widgets/zoneit.html?url=http://softwarecreation.org/2008/a-few-words-in-defense-of-copy-and-paste-programming/&amp;title=A+Few+Words+In+Defense+of+Copy+And+Paste+Programming&amp;t=2' height='18' width='120' frameborder='0' scrolling='no'></iframe></div></div></div><div style='clear:both'></div><p><img src="http://softwarecreation.org/images/2007/i-robot.jpg" /></p>
<p>I was always against <a href="http://en.wikipedia.org/wiki/Copy_and_paste_programming" title="Copy and Paste programming" id="ozzc">Copy and Paste programming</a>. I condemned people who use this practice as discrediting the honorable profession of The Programmer. This evil activity inflates application code without adding anything useful. This shameful practice causes various complications &#8211; more code, more things to remember, needless complexity, and difficulty to manage and synchronize related changes in the future. But at some point, I admitted to myself &#8211; things are not so black and white. I do <em>Copy and Paste</em> in my code, it is difficult to resist this seductive activity.</p>
<p>The only indulgence is that I&#8217;m very keen <strong>to eliminate bad effects of Copy and Paste before finishing my task</strong>.</p>
<p>I use two main approaches for writing new code. The first is <strong>Top-Down</strong> &#8211; I have clear design ideas how I should program and I know what classes and components to use. I go ahead and write code from scratch using my memory and power of intellect :). There are few problems with this approach. Unfortunately, my memory is not so great and knowledge is not so vast. Regularly I have new tasks that I don&#8217;t know or don&#8217;t remember how to program. Sometimes I don&#8217;t get immediately what other people programmed without debugging. And often I want to save time and avoid re-implementing the same idea again. And that is why I also use the second approach &#8211; <strong>Bottom-Up</strong>. I copy and paste code first. And after I figure out how this code works, how to use, fit and improve it.<span id="more-79"></span></p>
<h3>When is Copy and Paste approach useful?</h3>
<p>Shamelessly, I can come up with few cases:<br />
1. <strong>Work by example</strong> &#8211; you found new code through <a href="http://softwarecreation.org/2008/how-to-use-search-skills-to-become-effective-programmer/" title="search" id="tbnb">search</a> and want to  use it immediately to solve your problems.<br />
2. <strong>Quick start</strong> &#8211; you copy code (including your old code) to save time.<br />
3. <strong>Test in the new context</strong> &#8211; you want to quickly assess if code will be correctly running in the context of your application<br />
4. <strong>Too hard to reuse</strong> &#8211; if you cannot reuse, just copy code. For example, you don&#8217;t have time to build common framework with separate application or another team owns code and don&#8217;t want you to touch and spoil it.<br />
5. <strong>Series of experiment</strong>s &#8211; you try to find the best way to solve a problem and copy code to try if it solves a problem well.</p>
<h3>How to eliminate bad effects of Copy and Paste</h3>
<p>Now I&#8217;m going to return to canonical view on evilness of <em>Copy and Paste</em>. Even if you have legitimate reason to use <em>Copy and Paste</em>, it is acceptable only on temporary basis before you commit your code or your team granted absolution (probably for very short time) :).<br />
Therefore, after committing <em>Copy and Paste</em> scandalous act, do following:<br />
1. <strong>Understand what have you done </strong>- any code that you don&#8217;t understand is ineffective for future use, and potentially excessive, wasteful and dangerous.<br />
2. <strong>Clean, minimize and shape</strong> &#8211; remove all useless, over-engineered and questionable pieces; consider yourself as a jeweler, who is converting rough crystals in beautiful diamonds that fit well into solid code and concepts in your program.<br />
3. <strong>Refactor and Integrate</strong> &#8211; use refactoring techniques to integrate new cleaned code into existing application: improve design, simplify and increase power of your code.<br />
4. <strong>Learn </strong>- the best outcome of this sinful activity is <a href="http://softwarecreation.org/2008/how-to-use-search-skills-to-become-effective-programmer/" title="gained knowledge and experience" id="vfiy">gained knowledge and experience</a> that will make <em>Copy and Paste</em> unnecessary next time.</p>
<p>With age and experience of harsh programming reality, I&#8217;m becoming less purist and more pragmatic. I have started to accept everything what makes me effective. The only rule &#8211; I shouldn&#8217;t be ashamed of my code after the finish&#8230; even if I did <em>Copy and Paste</em> couple times ;)</p>
<p>What do you think?</p>
<!-- Social Buttons Shared Counts Generated by Digg Digg plugin v4.0.9, 
    Author : Yong Mook Kim
    Website : http://www.mkyong.com/blog/digg-digg-wordpress-plugin/ --><img src="http://softwarecreation.org/?ak_action=api_record_view&id=79&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://softwarecreation.org/2008/a-few-words-in-defense-of-copy-and-paste-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pair Programming: To Do or Not To Do</title>
		<link>http://softwarecreation.org/2008/pair-programming-to-do-or-not-to-do/</link>
		<comments>http://softwarecreation.org/2008/pair-programming-to-do-or-not-to-do/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 05:31:52 +0000</pubDate>
		<dc:creator>Andriy Solovey</dc:creator>
				<category><![CDATA[Practices]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Skills]]></category>
		<category><![CDATA[Teams]]></category>

		<guid isPermaLink="false">http://softwarecreation.org/2008/pair-programming-to-do-or-not-to-do/</guid>
		<description><![CDATA[Share
Pair Programming is a great way to build software systems. When Pair Programming works, it has significant benefits:

better ideas &#8211; continuous brainstorming, larger knowledge pool, less gaps in understanding and more brain power to solve design problems;
better quality &#8211; fewer bugs, instant validation of ideas, consistent approach and stricter adherence to team conventions;
better knowledge &#8211; [...]]]></description>
			<content:encoded><![CDATA[<div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><iframe src='http://api.tweetmeme.com/button.js?url=http://softwarecreation.org/2008/pair-programming-to-do-or-not-to-do/&source=AndriySolovey&service=&service_api=&style=compact' height='20' width='90' frameborder='0' scrolling='no'></iframe></div><div class='dd_button'><a name='fb_share' type='button_count' share_url='http://softwarecreation.org/2008/pair-programming-to-do-or-not-to-do/' href='http://www.facebook.com/sharer.php'>Share</a><script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'></script></div><div class='dd_button'><script src='http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://softwarecreation.org/2008/pair-programming-to-do-or-not-to-do/'></script></div><div class='dd_button'><a title='Post on Google Buzz' class='google-buzz-button' href='http://www.google.com/buzz/post' data-button-style='small-count' data-url='http://softwarecreation.org/2008/pair-programming-to-do-or-not-to-do/'></a><script type='text/javascript' src='http://www.google.com/buzz/api/button.js'></script></div><div class='dd_button'><iframe src='http://widgets.dzone.com/links/widgets/zoneit.html?url=http://softwarecreation.org/2008/pair-programming-to-do-or-not-to-do/&amp;title=Pair+Programming%3A+To+Do+or+Not+To+Do&amp;t=2' height='18' width='120' frameborder='0' scrolling='no'></iframe></div></div></div><div style='clear:both'></div><p><img src="http://softwarecreation.org/images/2008/Cirque_du_Soleil.jpg" /></p>
<p>Pair Programming is a great way to build software systems. When Pair Programming works, it has significant benefits:</p>
<ul>
<li><strong>better ideas</strong> &#8211; continuous brainstorming, larger knowledge pool, less gaps in understanding and more brain power to solve design problems;</li>
<li><strong>better quality</strong> &#8211; fewer bugs, instant validation of ideas, consistent approach and stricter adherence to team conventions;</li>
<li><strong>better knowledge</strong> &#8211; experience and knowledge sharing, deeper understanding of <em>why</em>, <em>how </em>and<em> what </em>was done;</li>
<li><strong>increased productivity</strong> &#8211; better focus and higher intensity, pushing each other and motivating to achieve best results, less procrastination and wasting of time;</li>
<li><strong>more enjoyment</strong> &#8211; most people like to work in groups and solve together interesting problems.</li>
</ul>
<p>Extreme Programming leaders <a href="http://www.xprogramming.com/Practices/PracPairs.html" title="insist" id="kj93">insist</a> that all significant development should be done in pairs. But can we say that Pair Programming is the best method in all situations?</p>
<p><span id="more-78"></span></p>
<p>Programmers can find plausible alternatives to Pair Programming that don&#8217;t require two people sitting together all the time:</p>
<ul>
<li><strong>ideas </strong>- frequent team brainstorming combined with short pair (or team) programming sessions for the most complex tasks;</li>
<li><strong>quality </strong>- dedicated tester closely works with developers, writing together automated tests;</li>
<li><strong>knowledge </strong>- frequent discussions, code reviews, training sessions;</li>
<li><strong>productivity </strong>- clear <a href="http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-intention/" title="intent" id="c6-i">intent</a> and pragmatic <a href="http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-approach/" title="approach" id="s5h-">approach</a> that bring focus, clarity and efficiency;</li>
<li><strong>enjoyment </strong>- close cooperation and mutual support</li>
</ul>
<p>When Pair Programming is the most effective method?</p>
<p id="vzb0" style="padding: 1em 0pt; text-align: left"><img src="http://softwarecreation.org/images/2008/when-pair-program.jpg" /><br />
The most important factor is match of skills and challenges. In Solo Programming the most productive mode is <a href="http://softwarecreation.org/2007/how-to-be-happy-at-work-short-tutorial/" title="Flow" id="xsil">Flow</a> when skills and challenges are matched. Pair Programming adds one more effective mode &#8211; Coaching that increases overall team productivity for the present and future tasks.</p>
<p id="vzb0" style="padding: 1em 0pt; text-align: left">
<strong>Successful modes</strong><br />
1. <strong>Flow</strong> &#8211; two programmers work on the interesting and challenging problem. They can have different skills and challenges, but both are capable to find good solution. For example, one can be javascript expert, another super backend programmer. They can get in flow working together on complex AJAX task combining their brainpower, knowledge and experience to create the best solution.<br />
2. <strong>Coaching</strong> &#8211; expert programmer have experience and knowledge for solving the problem and shares it with other programmer, who cannot effectively solve problem alone. This more junior programmer has fundamentals to understand the solution and implementation. He learns and grows to become better programmer.</p>
<p><strong>Failure modes</strong><br />
3. <strong>Wasting expert time</strong> &#8211; the problem is too simple that makes involvement of expert ineffective even for coaching<br />
4. <strong>Overwhelmed novice</strong> &#8211; the problem is too complex or requires too much new knowledge that prevents the programmer from learning anything useful</p>
<p><strong>Questionable modes</strong><br />
5. <strong>Two experts for a manageable task</strong> &#8211; pair programming doesn&#8217;t have much benefits if both programmers know how to implement the task and successfully solved similar problems before.<br />
6. <strong>One programmer is in Flow, other is Learning</strong> &#8211; it is difficult to stay in Flow if other programmer frequently interrupts and needs many explanation for basic things that are not directly related to challenging problem.<br />
7. <strong>One programmer is in Flow, other is Coaching</strong> &#8211; to make this mode successful for the growth, the coach should be open minded, avoid directing too much and should give opportunity for another programmer to come up with own (maybe even better) solutions.</p>
<p>In addition, psychological problems could prevent successful pair programming:</p>
<ul>
<li><strong>Intimidation by expert</strong> &#8211; one programmer is intimidated by superior skills of other programmer and afraid to be considered as incapable</li>
<li><strong>Need time to think</strong> &#8211; a programmer needs more time to think over before pair programming, but he is forced to start pair programming session before thinking over his ideas</li>
<li><strong>Prefer to work alone</strong> &#8211; an introvert programmer likes to work alone (<a href="http://weblogs.java.net/blog/kathysierra/archive/2004/03/pair_programmin.html" title="loner" id="by7b">loner</a>).</li>
<li><strong>Personal antipathy</strong> &#8211; programmers don&#8217;t like each other</li>
</ul>
<p><strong>Can we make Pair Programming always effective?</strong><br />
Yes! Match tasks, skills and pairs. Try to find pairs for 2 productive modes  &#8211; Flow and Coaching. A team will be most productive if the programmers pair solves together interesting problems matching their skills and learn from each other.</p>
<p>However, Pair Programming should be <a href="http://weblogs.java.net/blog/kathysierra/archive/2004/03/pair_programmin.html" title="a free choice" id="dvmx">a free choice</a> and preferred method, but it should not be a forced mandatory practice. As you can see from this post, there are some modes and psychological situations when Pair Programming is not working well.</p>
<p>In short, Pair Programming is one of the most useful tools in arsenal of the software team. Know when and how to use it.</p>
<p><strong>Inspiring resource</strong>: <a href="http://www.amazon.com/gp/product/0060920432/104-2883280-1296732?ie=UTF8&amp;tag=softwcreatmys-20&amp;linkCode=xm2&amp;camp=1789&amp;creativeASIN=0060920432" title="Flow" id="lvhs">Flow</a>, Mihaly Csikszentmihal</p>
<!-- Social Buttons Shared Counts Generated by Digg Digg plugin v4.0.9, 
    Author : Yong Mook Kim
    Website : http://www.mkyong.com/blog/digg-digg-wordpress-plugin/ --><img src="http://softwarecreation.org/?ak_action=api_record_view&id=78&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://softwarecreation.org/2008/pair-programming-to-do-or-not-to-do/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Elements of Pragmatic Programming Style. Approach.</title>
		<link>http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-approach/</link>
		<comments>http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-approach/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 04:01:38 +0000</pubDate>
		<dc:creator>Andriy Solovey</dc:creator>
				<category><![CDATA[Concepts]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Practices]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Skills]]></category>

		<guid isPermaLink="false">http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-approach/</guid>
		<description><![CDATA[SharePerfection is achieved, not when there is nothing more to add, but when there is nothing left to take away. &#8211; Antoine De Saint Exupery
The approach to programming is concerned with finding the best ways to translate programmer&#8217;s intention into the good system design and code.

The programming is communication. The programmer continuously add, change and [...]]]></description>
			<content:encoded><![CDATA[<div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><iframe src='http://api.tweetmeme.com/button.js?url=http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-approach/&source=AndriySolovey&service=&service_api=&style=compact' height='20' width='90' frameborder='0' scrolling='no'></iframe></div><div class='dd_button'><a name='fb_share' type='button_count' share_url='http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-approach/' href='http://www.facebook.com/sharer.php'>Share</a><script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'></script></div><div class='dd_button'><script src='http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-approach/'></script></div><div class='dd_button'><a title='Post on Google Buzz' class='google-buzz-button' href='http://www.google.com/buzz/post' data-button-style='small-count' data-url='http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-approach/'></a><script type='text/javascript' src='http://www.google.com/buzz/api/button.js'></script></div><div class='dd_button'><iframe src='http://widgets.dzone.com/links/widgets/zoneit.html?url=http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-approach/&amp;title=The+Elements+of+Pragmatic+Programming+Style.+Approach.&amp;t=2' height='18' width='120' frameborder='0' scrolling='no'></iframe></div></div></div><div style='clear:both'></div><p><em>Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.</em> &#8211; Antoine De Saint Exupery</p>
<p>The approach to programming is concerned with finding the best ways to translate programmer&#8217;s <a href="http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-intention/" title="intention" id="pd51">intention</a> into the good system design and code.</p>
<p><img src="http://softwarecreation.org/images/2008/hemingway.jpg" /></p>
<p>The programming is communication. The programmer continuously add, change and refine ideas in the code. Source code has two important goals: <strong>tell a computer what to do </strong>and<strong> tell people what the computer should do</strong>. The program code is the only true medium for storing and communicating ideas about the software system behavior. Quality of the ideas expression in the code directly affects overall quality of the system.</p>
<p>So, what are characteristics of the good code?</p>
<ol>
<li><strong>clear </strong>- easier to work with ideas;</li>
<li><strong>minimal </strong>- less effort to understand and change ideas;</li>
<li><strong>testable </strong>- easier to validate ideas.</li>
</ol>
<p>These are 6 top reasons for bad design and code:</p>
<ol>
<li>lack of expertise</li>
<li>unrestrained technical curiosity and creativity</li>
<li>missing big picture: system purpose and customer goals</li>
<li>blindly following popular methods and over-using technology</li>
<li>sloppiness; lack of attention to details</li>
<li>over-complicating design to have more work or increase job security</li>
</ol>
<p>The programmer can write better code (and avoid most of these problems) by improving programming style and approach.</p>
<p><span id="more-77"></span><strong>Style Components:</strong></p>
<ul>
<li><a href="http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-intention/"><strong>Intention </strong></a>- understand your task and how to get it done</li>
<li><strong>Approach </strong>- basic principles of writing code</li>
<li><strong><a href="http://softwarecreation.org/2009/the-elements-of-pragmatic-programming-style-composition/">Composition</a> </strong>- organization of code</li>
<li><strong>Expression </strong>- expressing ideas in code</li>
<li><strong>Object Oriented Pragmatic Style</strong></li>
</ul>
<h3>Approach</h3>
<p>Two most important rules are</p>
<ul>
<li>work from the simplest design</li>
<li>revise and refactor after each task</li>
</ul>
<p><strong>1. Work from the simplest design</strong><br />
The simplest design that solves business needs is the best design. The simplest design is the product of discipline and mastery. The simplest design requires creative thinking &#8211; it is easier to follow traditional ways than to come up the simple, but clear and powerful solution.</p>
<p>Agile development has famous principle <a href="http://c2.com/xp/DoTheSimplestThingThatCouldPossiblyWork.html" title="DTSTTCPW" id="rjki">DTSTTCPW</a> (Do The Simplest Thing That Could Possibly Work) best explained by <a href="http://www.xprogramming.com/" title="Ron Jeffries" id="oo4_">Ron Jeffries</a>:</p>
<blockquote><p>We&#8217;re saying consider all solutions to your task that could possibly work. Implement the simplest solution. Refactor from there if and when needed&#8230;  And we&#8217;re saying that when you do enhance the simple solution (and you generally will), you will always wind up with a system that is just right for what it does so far. And we&#8217;re saying that that is just where you want to be. Everything just right, nothing added that isn&#8217;t needed.</p></blockquote>
<p>For example, if you love design patterns, MVC and object oriented programming, you may end up with design below for finding orders by customer&#8217;s postal code.</p>
<p><img src="http://softwarecreation.org/images/2008/design-complex.jpg" /></p>
<p>I love these patterns too, but I would still recommend to start with the simpler design.</p>
<p>The simplest design is the most effective way to deliver business value. You spend less time, build more reliable, easier to understand and change solution. You save energy for other tasks and reduce load on your hard-working brains.</p>
<p>Why do people not go for the simplest solution all the time? There are three main reasons:</p>
<ul>
<li><em>unintentional </em>- the programmer didn&#8217;t find simpler solution (lack of experience, pressure and no time to think, relying on traditional ways, compliance with architect&#8217;s grand design and others)</li>
<li><em>intentional </em>- the programmer wants to over-complicate solution for personal benefits (play with interesting technology, build up resume or increase scope of paid work)</li>
<li><em>foretelling </em>- the programmer bets on the future advantage of more complex design</li>
</ul>
<p>The last reason is the most compelling for many programmers. What if your experience and knowledge tells you that you will need this more advanced design and additional code?<br />
Lets do cost-benefit analysis</p>
<p><img src="http://softwarecreation.org/images/2008/simplest-design.jpg" /></p>
<p>What are the chances of mismatch with our initial expectations for a non-trivial project? Big. Mismatch with expectations happens when we learn more from technology, domain and customer feedback while programming. Mismatch happens when we understand the problem deeper and come up with the better solutions. Mismatch happens when the new requirements are coming, priorities are altered and the whole world around is changing (e.g. new company opportunities or credit crunch and economic downturn).</p>
<p>As we can see <strong>the best approach is the simplest design that requires little refactoring in the future and doesn&#8217;t prohibit anticipated design evolution</strong>. Therefore, use you experience and intuition to predict direction of the design evolution. Use this knowledge not for making design more complex to accommodate this prediction, but for ensuring that the simplest solution is not stupid, prohibitive for evolution and will survive coming changes.</p>
<p>However, the level of expertise has significant impact on the choice. The novice programmer should use standard well-described solutions and learn how to simplify them later. The expert programmer should be more comfortable to design simple, sound and easy to evolve solutions from the start.</p>
<p><strong>2. Revise and refactor</strong><br />
Focus on the simplest local design and code for individual features without revisions and design improvements could sometimes create global mess and painful complexity .</p>
<p>For example, it is bad, if after adding several features, your OrderDB contains many methods like LoadForPostalCode, LoadForPostalCodeAndStatus, LoadShippedOrders and web pages are overloaded with domain logic. This kind of code calls for refactoring.</p>
<p>Revise and refactor after completing any programmer tasks.<br />
You should ask yourself 4 questions:</p>
<ul>
<li>Can I reduce code?</li>
<li>Can I make code clearer?</li>
<li>Can I make code more testable?</li>
<li>Can I make the whole system simpler?</li>
</ul>
<p>Refactor, if you answer yes to any of these questions. Learn <a href="http://c2.com/xp/CodeSmell.html" title="code smells" id="sz3_">code smells</a> to identify concrete places that need refactoring. Learn <a href="http://www.refactoring.com/" title="refactoring techniques" id="w_yn">refactoring techniques</a> to improve code.<br />
Main methods:</p>
<ul>
<li>remove duplication and increase code reuse</li>
</ul>
<ul>
<li>create abstractions to generalize individual cases</li>
<li>use design patterns to simplify design</li>
</ul>
<p>Refactoring is one the most important practice for productive software creation. Refactoring allows to keep the system in the good shape all the time &#8211; simple, well designed, ready to change. Implementing the simplest solutions without refactoring and <a href="http://softwarecreation.org/2008/selecting-the-best-strategy-for-software-teams-retreat-evolution-or-revolution/" title="evolutionary approach" id="ye41">evolutionary approach</a> is risky.</p>
<p>Other rules should enhance your approach further.</p>
<p><strong>3. Discover Form and Function in parallel. </strong><br />
<em>Form follows Function</em> is a traditional principle in design. In other words, customers requirements dictate user interface. However, discovery of complex interactions could affect what the customer wants and change understanding of needs. Sometimes starting with UI paper sketches and discussing them with customers could expose missing details, gaps in understanding and suggest better ways to satisfy customer needs.  <em>Therefore, work on discovery of Form and Function</em><em> of the system</em><em> in parallel.</em></p>
<p><strong>4. Avoid using new tools</strong><br />
<em>New Systems Mean New Problems</em> &#8211; The Fundamental Theorem of <a href="http://en.wikipedia.org/wiki/Systemantics" title="Systemantics" id="ztgg">Systemantics</a><br />
Do not use new languages, tools and libraries unless existing are bad and you can tolerate high risk and delays.<br />
Every new programming tool claim to make you more productive and powerful. Few of them really do this. But , it is guaranteed, that every new tool takes time for learning and brings new problems.<br />
I know that it is hard to continue using old tools for a long time and stay competitive in fast moving software development world. But try to limit impact on customer. It is not fair to make them victims of your learning and experiments. <em>Create separate experimental prototypes and <a href="http://en.wikipedia.org/wiki/Greenfield_project" title="greenfield" id="zl:r">greenfield</a> projects to evaluate new tools and approaches.</em> Prefer to be honest and transparent with your client about risks of new technologies, tools and approaches.</p>
<p><strong>5. Use creative ideas sparingly</strong><br />
Creative ideas can bring excellent solutions. However, any creative idea adds element of unexpectedness and departure from established ways to solve similar problems. Programmers will spend more time to understand creative ideas and will have challenges to support them. <em>Therefore, use creative ideas when they bring significant advantages (especially to simplify solution) and avoid them in trivial situations.</em> Don&#8217;t worry, you will always find where to apply your creative energy if you are productive, build good solutions and have more and more customers.</p>
<p><strong>6. Prefer standard solutions to the non-standard</strong><br />
This rule compliments the previous rule. Standard solutions are based on experience of many people. Maybe they are not the best in your particular case, but they often are safe bet if these problems are new for you. You can find many examples, quickly learn how to apply them and understand consequences beforehand. New creative solutions will make life more interesting in expense of productivity and certainty in the final results. <em>Therefore, prefer standard solutions to reinventing the wheel again.</em> Don&#8217;t forget to learn how to make them simpler.</p>
<p><strong>7. Separate production code and experiments</strong><br />
Restrain technical curiosity when writing production code. Many programmers find the joy of programming in solving complex problems. It is so tempting to solve difficult technical puzzles and try out new cool techniques without need. However, the pragmatic programmer solves complex customer problems with simple solutions, instead of creating complex solutions for the simple problems.<br />
Think first about customer requirements and simple design. <em>Experiment and look for the new solutions only if you cannot find simple solutions with familiar methods.</em> Keep your production and experimental code separately. Adopt ideas from experiments without unnecessary complication of the solution.</p>
<p><strong>8. Do not overwrite (or over-eingeneer)</strong><br />
Write minimal code relevant to present customer requests. Surprisingly, complex over-engineered solutions are easier to create &#8211; just follow recent trends and try to anticipate everything that came to mind. The simplest and clear solutions require extra effort.<br />
Over-engineering harms the software system, takes away precious time and project money. <em>Avoid over-engineering if you are motivated to build good system and satisfy your customer.</em></p>
<p><strong>9. Write own code for the core and use external components for supporting functionality.</strong><br />
Concentrate your effort on writing code for the core functions specific to customer domain or code that is bringing competitive advantage. Don&#8217;t waste too much effort on secondary supportive functions. For example, there are many good enough libraries, for solving standard dynamic web user interface needs &#8211; <a href="http://www.prototypejs.org/" title="prototype" id="rr.e">prototype</a>, <a href="http://jquery.com/" title="jQuery" id="h3g5">jQuery</a>, <a href="http://www.asp.net/ajax/" title="Microsoft AJAX" id="nbwt">Microsoft AJAX</a>, <a href="http://developer.yahoo.com/yui/" title="Yahoo user interface library" id="exel">Yahoo user interface library</a> and others &#8211; but many programmers are still building their own solutions. I like to have full control over my software systems and write as much as possible components, but <em>one cannot embrace unembraceable</em> (<a href="http://en.wikipedia.org/wiki/Kozma_Prutkov" title="Kozma Prutkov" id="sz1h">Kozma Prutkov</a>). <em>You have to trust some parts of the system to other libraries that will save time and do better job</em> (but bring new problems).</p>
<p><strong>10. Do not write code for future</strong>.<strong> </strong><br />
The dirty trick of predicting the future is that future is unpredictable. Everything else is fine. Written for the future code adds unnecessary complexity. This code is useless for the present problems. <em>Avoid writing code for the future and strive for the simplest solutions for the present needs.</em></p>
<p><strong>11. Write code for other programmers</strong><br />
Can other programmers understand your code? Do you have clear names, consistent formatting and self-explaining code? <em>Writing code for others will make code better for you.</em></p>
<p><strong>12. Switch between big picture and details</strong><br />
Good programmers can focus on the big picture and still pay attention to details. <em>Clear intention and forward thinking are as important as reliable implementation.</em></p>
<p><strong>13. Pair program for complex problems</strong><br />
Pair programming brings <a href="http://alistair.cockburn.us/Costs+and+benefits+of+pair+programming" title="significant benefits" id="xm9g">significant benefits</a>:</p>
<ul>
<li>better ideas &#8211; two brains solving the problems</li>
<li>better quality &#8211; two pair of eyes validating code</li>
<li>better knowledge &#8211; two programmers understand implementation and ideas behind</li>
<li>better productivity &#8211; problems are solved faster</li>
<li>more enjoyment &#8211; people like to communicate and work together</li>
</ul>
<p>I&#8217;m still not sure about serious benefits of pair programming for simple and routine programming tasks. But many Agile teams <a href="http://www.extremeprogramming.org/rules/pair.html" title="pair program" id="xbve">pair program</a> for all production code and like results.</p>
<p><strong>Putting It All Together</strong></p>
<p><img src="http://softwarecreation.org/images/2008/approach-to-programming.jpg" /></p>
<p><strong>Inspiring reference:</strong> <em>The Elements of Style</em>, W. Strunk Jr. and E.B. White</p>
<!-- Social Buttons Shared Counts Generated by Digg Digg plugin v4.0.9, 
    Author : Yong Mook Kim
    Website : http://www.mkyong.com/blog/digg-digg-wordpress-plugin/ --><img src="http://softwarecreation.org/?ak_action=api_record_view&id=77&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-approach/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Elements of Pragmatic Programming Style. Intention.</title>
		<link>http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-intention/</link>
		<comments>http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-intention/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 05:36:26 +0000</pubDate>
		<dc:creator>Andriy Solovey</dc:creator>
				<category><![CDATA[Job]]></category>
		<category><![CDATA[Practices]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Skills]]></category>

		<guid isPermaLink="false">http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-intention/</guid>
		<description><![CDATA[Share&#8220;I made this program longer than usual because I lack the time to make it shorter.&#8221; &#8211; paraphrasing Blaise Pascal

The Elements of Pragmatic Programming Style is the collection of rules for pragmatic programmers. This collection doesn&#8217;t pretend to be comprehensive guide how to program. Rather it concentrates on fundamentals: how any programmer can build better [...]]]></description>
			<content:encoded><![CDATA[<div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><iframe src='http://api.tweetmeme.com/button.js?url=http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-intention/&source=AndriySolovey&service=&service_api=&style=compact' height='20' width='90' frameborder='0' scrolling='no'></iframe></div><div class='dd_button'><a name='fb_share' type='button_count' share_url='http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-intention/' href='http://www.facebook.com/sharer.php'>Share</a><script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'></script></div><div class='dd_button'><script src='http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-intention/'></script></div><div class='dd_button'><a title='Post on Google Buzz' class='google-buzz-button' href='http://www.google.com/buzz/post' data-button-style='small-count' data-url='http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-intention/'></a><script type='text/javascript' src='http://www.google.com/buzz/api/button.js'></script></div><div class='dd_button'><iframe src='http://widgets.dzone.com/links/widgets/zoneit.html?url=http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-intention/&amp;title=The+Elements+of+Pragmatic+Programming+Style.+Intention.&amp;t=2' height='18' width='120' frameborder='0' scrolling='no'></iframe></div></div></div><div style='clear:both'></div><p><cite>&#8220;I made this program longer than usual because I lack the time to make it shorter.&#8221;</cite> &#8211; paraphrasing Blaise Pascal</p>
<p><img src="http://softwarecreation.org/images/2008/pascal.gif" /></p>
<p>The Elements of Pragmatic Programming Style is the collection of rules for pragmatic programmers. This collection doesn&#8217;t pretend to be comprehensive guide how to program. Rather it concentrates on fundamentals: how any programmer can build better software for the customer. Some of the rules are obvious, but, surprisingly, many programmers don&#8217;t even think about them. They make same mistakes over and over again. I hope this post will inject a healthy dose of pragmatism into your programming style and make it a bit better .</p>
<p>Style Components:</p>
<ul>
<li><strong>Intention </strong>- understand your task and how to get it done</li>
<li><strong><a href="http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-approach">Approach</a> </strong>- basic principles of writing code</li>
<li><strong><a href="http://softwarecreation.org/2009/the-elements-of-pragmatic-programming-style-composition/">Composition</a> </strong>- organization of code</li>
<li><strong>Expression </strong>- expressing ideas in code</li>
<li><strong>Object Oriented Pragmatic Style</strong></li>
</ul>
<p>The goals of Pragmatic Programming Style are</p>
<ol>
<li>Building reliable software fast.</li>
<li>Delivering maximum value for the customer.</li>
<li>Writing code that is easy to understand, change and share.</li>
</ol>
<h3><strong>Intention</strong></h3>
<p><cite id="ypkf4"></cite><em>&#8220;Everyone hears only what he understands.&#8221;</em> &#8211; Johann Wolfgang von Goethe</p>
<p>Understand your task and how to get it done</p>
<p><img src="http://softwarecreation.org/images/2008/thinker.jpg" /><br />
<a href="http://flickr.com/photos/sidereal/349496270/" class="photocredit">Sidereal</a><br />
<span id="more-76"></span></p>
<p><strong>1. Know your programming task beforehand.</strong></p>
<p>Understand clearly your programming task before start. You will be focused, productive and efficient if you know exactly what to do. Vague tasks breed confusion, indecision and sluggishness. Misunderstanding leads to wrong code, dissatisfaction and conflicts. <em>Therefore, ask questions, listen and pursue until you have good enough understanding of the task and your customer needs.</em> Sometimes, of course, even your customer does not clearly understand what she wants. Most probably you&#8217;ll discover together what is needed on the go. And still, effort to understand your task beforehand will increase satisfaction and efficiency.</p>
<p>Don&#8217;t overuse this rule &#8211; first practical results in the first weeks will do more for understanding than months of conversations and drawing diagrams.</p>
<p><strong>2. Understand what is important.</strong></p>
<p>You have to make many decision on your own while programming. Customers cannot always prompt what options are better or how to overcome technical hurdles. They will rely on your technical expertise and common sense. <em>Therefore, understand what is important to make the best decisions for the customer. </em>For example, customers can be interested in easy to learn and responsive user interface. Or they can be interested in minimal cost and time. Or they can ask for highly secure solution. Better you know what is important, better decisions you will make.</p>
<p><strong>3. Think how to implement task before programming.</strong></p>
<p>Think how to implement your task before writing the first line of code. Many adventurous programmers don&#8217;t like to think ahead and prefer to immediately dive into programming. Often they find themselves lost in programming jungles with sad choice to continue struggle until code is a complete mess or start over again. <em>Don&#8217;t be lost. Think ahead about how you will implement your task, what is missing and what is not clear.</em> Use search, read help and ask other programmers. Quick sketches and notes on the paper will summon up your thoughts to find better solution.</p>
<p><strong>4. Define when task is &#8216;DONE&#8217;.</strong></p>
<p>You should know when your task is done, be it user interface, algorithm or database code. Sometimes, the programmer thinks that task is done without careful testing and consideration of alternative cases. Sometimes the programmer spends huge effort on polishing already good enough solution. Unfinished code or wasted time are both bad for your customer. <em>Therefore, know when your task is &#8216;DONE&#8217; and when you should stop.</em></p>
<p><strong>5. Share your ideas with your team</strong></p>
<p>Discuss your ideas with your fellow programmers. Even the smartest programmer will benefit from explaining her ideas to a team. Other programmers can help to find flaws, challenge ideas or suggest a better way. In addition, they will learn how you solve problems, gain better experience and knowledge about the system. <em>Therefore, don&#8217;t conceal your ideas, but share and improve them with your team.</em> Learn and grow together.</p>
<p><strong>6. Communicate required effort, risks and alternatives.</strong></p>
<p><span style="font-weight: normal">Inform your customer about required effort, risks, possible alternatives for the task. The customer will appreciate honest and full information before you spend time on programming. Yes, the customer could cancel some requests or select cheaper alternative if effort seems too large. But your customer will have comfortable and powerful feeling (that is so fragile) of control over the project that brings trust and desire to cooperate. <em>See your customer rather as a long-term partner than a quick source of revenue. </em>It will pay with more satisfaction from work, better reputation and more customers.</span></p>
<p><strong>7. Plan steps to get strength to start</strong></p>
<p><em>&#8220;The first and the best victory is to conquer self.&#8221;</em> &#8211; Plato</p>
<p><span style="font-weight: normal">You can be the biggest obstacle to get the task done &#8211; your procrastination, your indecision and your unproductive mood. Try to plan your steps, once you have clear ideas what should be done. Plan how these steps will fit into your working schedule, a release cycle and the customer availability for questions and feedback.<em> Create concrete actions &#8211; more detailed for more complex parts. Visualize your steps to assure yourself that your task can be accomplished. </em></span>While it is possible that your plan will be useless, it will provide <span style="font-weight: normal">confidence and energy to embrace the most challenging tasks.</span></p>
<p><span style="font-weight: normal">Now you are ready to start programming.</span></p>
<p>Next posts will bring rules and examples for Approach, Composition, Expression and Object Oriented Pragmatic style.</p>
<p><strong>Inspiring reference:</strong> <em>The Elements of Style</em>, W. Strunk Jr. and E.B. White</p>
<!-- Social Buttons Shared Counts Generated by Digg Digg plugin v4.0.9, 
    Author : Yong Mook Kim
    Website : http://www.mkyong.com/blog/digg-digg-wordpress-plugin/ --><img src="http://softwarecreation.org/?ak_action=api_record_view&id=76&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://softwarecreation.org/2008/the-elements-of-pragmatic-programming-style-intention/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
