<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:georss="http://www.georss.org/georss" xmlns:thr="http://purl.org/syndication/thread/1.0">
  <channel>
    <lastBuildDate>Wed, 15 May 2013 23:03:27 -0400</lastBuildDate>
    <title>The Codeless Code</title>
    <description>K&#x014D;ans for the Software Engineer -- An illustrated collection of (sometimes violent) fables, concerning the Art and Philosophy of software development.</description>
    <link>http://thecodelesscode.com</link>
    <atom:link rel="self" type="application/rss+xml" href="http://thecodelesscode.com/rss" />
    <pubDate>Wed, 15 May 2013 23:03:27 -0400</pubDate>
    <item>
      <title>Case 93: You Take the High Road</title>
      <link>http://thecodelesscode.com/case/93</link>
      <pubDate>Sun, 12 May 2013 00:00:00 -0400</pubDate>
      <guid>http://thecodelesscode.com/case/93</guid>
      <description>&lt;div class="koan"&gt;
&lt;p&gt;A certain nun was prone to pester master &lt;a href="/names/Bawan"&gt;Bawan&lt;/a&gt; for his
wisdom.  One day she said: Say something of high-level
languages and low-level languages.&lt;/p&gt;

&lt;p&gt;Bawan replied: First fetch me the best bottle of
huangjiu to be found in the Province of Two Turbulent Rivers.&lt;/p&gt;

&lt;p&gt;The nun journeyed to this province and returned a week
later with a bottle of dark liquid.&lt;/p&gt;

&lt;p&gt;Bawan took a sip and remarked: this huangjiu is too sweet.  A superior bottle may be found hidden in our own cellars,
though the way to it is laden with traps.  Now heed carefully
what I say...&lt;/p&gt;

&lt;p&gt;The master then gave the nun a most detailed set of
instructions, beginning with which direction to face, which
foot to put first and which second; how many steps to go
before turning right and how many then before turning left;
which hands to use to climb down the well-rope, and how hard
to pull the earring on the second stone statue in the third
alcove before crossing the Room of Cleverly-Hidden Poison
Spears.&lt;/p&gt;

&lt;p&gt;The nun followed the directions and returned within the hour,
drenched in cold sweat but bearing the desired bottle.&lt;/p&gt;

&lt;p&gt;Bawan took a sip and nodded his approval.  The nun bowed
and went out, enlightened.&lt;/p&gt;

&lt;p&gt;That evening, a monk of the same clan approached master
Bawan and asked: what can you say of high-level
languages and low-level languages?&lt;/p&gt;

&lt;p&gt;In a low slurred voice, the master replied: I have no wisdom
to give on this matter.  But fetch me the best rice in the Province of
Two Turbulent Rivers, and I will tell you how to get a week&amp;#8217;s
peace and two free bottles of huangjiu.
&lt;/p&gt;


&lt;/div&gt;

</description>
    </item>
    <item>
      <title>Case 92: Still Waters</title>
      <link>http://thecodelesscode.com/case/92</link>
      <pubDate>Sun, 05 May 2013 00:00:00 -0400</pubDate>
      <guid>http://thecodelesscode.com/case/92</guid>
      <description>&lt;div class="koan"&gt;
&lt;p&gt;Master &lt;a href="/names/Banzen"&gt;Banzen&lt;/a&gt; had been wrestling with a design problem
late into the night.  Upon his whiteboard were three
possible approaches, each with their own promises and
pitfalls: Banzen had been trying desperately to decide which
would be best.  Finally, eyes red and ink-stained hands
trembling, he left his office and began to pace through
the Temple hallways to clear his mind.&lt;/p&gt;

&lt;img src="http://thecodelesscode.com/cases/92/tofu.jpg"
     title="You know, sometimes, there isn't room for Jello."
      /&gt;

&lt;p&gt;Eventually he came to the kitchens, which rang with shouting
and the clanging of pots; for the cooks were awake, having
risen early to prepare the morning meal as was their
custom.&lt;/p&gt;

&lt;p&gt;Banzen wandered among them, observing the bustle of activity.  Onions were being peeled, carrots chopped, chickens plucked.  Rice was steaming, soup was boiling, pork was
sizzling, eggs were frying.&lt;/p&gt;

&lt;p&gt;One cook he noticed had a fairly simple task.  She would mix up
a pot of thin dark liquid, carry it to a quiet corner,
and leave it there unattended.  After a while she would return to
empty out the contents, which had somehow turned solid.  She did this several times.&lt;/p&gt;

&lt;p&gt;&amp;#8220;What is that?&amp;#8221; Banzen asked her.&lt;/p&gt;

&lt;p&gt;&amp;#8220;Duck&amp;#8217;s blood,&amp;#8221; came the answer.  &amp;#8220;I am congealing it for
the blood tofu.&amp;#8221;&lt;/p&gt;

&lt;p&gt;Banzen bowed and went out.&lt;/p&gt;

&lt;p&gt;Later that morning, a novice found Banzen again in his office.  The master was sitting motionless, gazing at his whiteboard,
eyes distant, hands empty.&lt;/p&gt;

&lt;p&gt;&amp;#8220;What are you doing?&amp;#8221; asked the novice.&lt;/p&gt;

&lt;p&gt;&amp;#8220;Congealing,&amp;#8221; said Banzen.&lt;/p&gt;


&lt;/div&gt;

</description>
    </item>
    <item>
      <title>Case 91: The Soul of Wit</title>
      <link>http://thecodelesscode.com/case/91</link>
      <pubDate>Sat, 04 May 2013 00:00:00 -0400</pubDate>
      <guid>http://thecodelesscode.com/case/91</guid>
      <description>&lt;div class="koan"&gt;
&lt;p&gt;The pride of the monk &lt;a href="/names/Wangohan"&gt;Wangohan&lt;/a&gt; would not easily let him
admit defeat.  Because of this, the monk chose
to forge ahead with an &lt;a href="/case/0-88"&gt;unfamiliar web framework&lt;/a&gt; 
despite master Suku&amp;#8217;s warnings to the contrary.&lt;/p&gt;

&lt;p&gt;&amp;#8220;Now your shame will be twice as great,&amp;#8221; taunted the monk
&lt;a href="/names/Landhwa"&gt;Landhwa&lt;/a&gt;.  &amp;#8220;Once for the ruin that will befall you,
and once again because the master herself advised against
your course.&amp;#8221;&lt;/p&gt;

&lt;img src="http://thecodelesscode.com/cases/91/nun-chair.jpg"
     title="She's either looking at a hundred lines of contorted XML configuration, or a one-line Perl script."
      /&gt;

&lt;p&gt;Wangohan thus returned to his cubicle thoroughly disheartened.  There he found affixed to his monitor a small yellow note, unsigned
and in an unfamiliar hand, advising him to have his code reviewed
by the nun &lt;a href="/names/Zjing"&gt;Zjing&lt;/a&gt; before resuming his efforts.&lt;/p&gt;

&lt;p&gt;&amp;#8220;A poor counsel is this,&amp;#8221; thought Wangohan, &amp;#8220;for I require
courage, and Zjing cannot stand upon a stepstool lest her
fear of heights overcome her.&amp;#8221;  Yet the note did not seem to
be of Landhwa&amp;#8217;s doing, and since Wangohan knew of none other
that bore him malice, he emailed his predicament to the
telecommuting nun.&lt;/p&gt;

&lt;p&gt;&amp;#8220;I know nothing of this framework,&amp;#8221; the nun wrote back.  &amp;#8220;Yet send me your code anyway.&amp;#8221;&lt;/p&gt;

&lt;p&gt;Wangohan did as he was asked.  In less than a minute his phone rang.&lt;/p&gt;

&lt;p&gt;&amp;#8220;Your framework is not right,&amp;#8221; said Zjing.  &amp;#8220;Or else,
your code is not right.&amp;#8221;&lt;/p&gt;

&lt;p&gt;This embarrassed and angered the monk.  &amp;#8220;How can you be so
certain?&amp;#8221; he demanded.&lt;/p&gt;

&lt;p&gt;&amp;#8220;I will tell you,&amp;#8221; said the nun.&lt;/p&gt;

&lt;p&gt;Zjing began the story of how she had been born in a
distant province, the second youngest of six dutiful
daughters.  Her father, she said, was a lowly abacus-maker,
poor but shrewd and calculating; her mother had a stall in
the marketplace where she sold random numbers.  In vivid
detail Zjing described her earliest days in school, right
down to the smooth texture of the well worn teak floors and
the acrid yet not unpleasant scent of the stray black dog
that followed her home in the rain one day.&lt;/p&gt;

&lt;p&gt;&amp;#8220;Enough!&amp;#8221; shouted the exasperated Wangohan when a full hour
had passed, for the nun&amp;#8217;s narrative showed no sign of drawing
to a close.  &amp;#8220;That is no way to answer a simple question!&amp;#8221;&lt;/p&gt;

&lt;p&gt;&amp;#8220;How can you be so certain?&amp;#8221; asked Zjing.&lt;/p&gt;


&lt;/div&gt;

</description>
    </item>
    <item>
      <title>Case 90: Not A Number</title>
      <link>http://thecodelesscode.com/case/90</link>
      <pubDate>Wed, 01 May 2013 00:00:00 -0400</pubDate>
      <guid>http://thecodelesscode.com/case/90</guid>
      <description>&lt;div class="koan"&gt;
&lt;img src="http://thecodelesscode.com/cases/90/naan.jpg"
     title="Apparently it's made with lots of naan-fat butter."
      /&gt;

&lt;p&gt;Master &lt;a href="/names/Kaimu"&gt;Kaimu&lt;/a&gt; was approached by a monk of the &lt;a href="/names/Spider Clan"&gt;Spider Clan&lt;/a&gt;,
who said:
&amp;#8220;In Javascript, zero is divided by zero, the result is
&lt;tt&gt;NaN&lt;/tt&gt;: not-a-number.  Yet &lt;tt&gt;typeof(NaN)&lt;/tt&gt; is
&lt;tt&gt;number&lt;/tt&gt;.  What sense may be found in such a language,
where a value is both something and not-something?&amp;#8221;&lt;/p&gt;

&lt;p&gt;Kaimu gave the monk a coin, saying, &amp;#8220;On the Road of White Nettles
lives a baker who sells flatbreads as round as the most perfect zero.  Purchase as many as you are able and bring them to me.&amp;#8221;&lt;/p&gt;

&lt;p&gt;The monk did as he was told.  When the baker received his payment
he threw the monk bodily out of the shop and flung
the coin after him.&lt;/p&gt;

&lt;p&gt;&amp;#8220;Counterfeit money,&amp;#8221; said the baker.&lt;/p&gt;

&lt;img class="break" src="/images/hrule.png" alt="- - -" /&gt;

&lt;p&gt;&lt;div &gt;
Upon returning to the temple, the monk found one of the
gardeners, switched clothes with him, and sent the gardener
to see master Kaimu alone.&lt;/p&gt;

&lt;p&gt;Kaimu was amused by the obvious deception.  &amp;#8220;Monk!&amp;#8221; he said.  &amp;#8220;Where is my bread?&amp;#8221;&lt;/p&gt;

&lt;p&gt;As instructed by the monk, the non-monk replied, &amp;#8220;Divided
equally among all who helped me carry it.&amp;#8221;&lt;/p&gt;

&lt;p&gt;Kaimu was satisfied.
&lt;/div&gt;&lt;/p&gt;

&lt;h2&gt;Qi&amp;#8217;s commentary&lt;/h2&gt;

&lt;p&gt;Worthless money, imitation monk, fictitious bread,
&lt;span &gt;false ending&lt;/span&gt;.&lt;/p&gt;

&lt;h2&gt;Qi&amp;#8217;s poem&lt;/h2&gt;

&lt;p&gt;Kaimu met an ancient soldier: a lost and desperate man, &lt;br/&gt;
for he could not remember his own name. &lt;br/&gt;
The master gave him coin, saying, &amp;#8220;This to you from Kaimu.&amp;#8221; &lt;br/&gt;
The soldier cried with joy, &amp;#8220;Then I must be Not Kaimu!&amp;#8221;&lt;/p&gt;


&lt;/div&gt;

</description>
    </item>
    <item>
      <title>Case 89: Version Control</title>
      <link>http://thecodelesscode.com/case/89</link>
      <pubDate>Sun, 14 Apr 2013 00:00:00 -0400</pubDate>
      <guid>http://thecodelesscode.com/case/89</guid>
      <description>&lt;div class="koan"&gt;
&lt;p&gt;At precisely 7:07 on the first clear morning of the first
week of spring, the old scribe &lt;a href="/names/Qi"&gt;Qi&lt;/a&gt; awoke to a knocking on
his door.  An abbess waited outside, flanked by two
heavily-armed guards in black and white robes.&lt;/p&gt;

&lt;img src="http://thecodelesscode.com/cases/89/cop.jpg"
     title="A katana is basically 'kill -9' for biological processes."
      /&gt;

&lt;p&gt;Said the abbess: &amp;#8220;We have read your account of
&lt;a href="/case/0-88"&gt;the burning of Zjing&#x2019;s bridge&lt;/a&gt;, and we judge it to be a
deliberate lie from beginning to end.  The annals are
sacrosanct: by falsifying them, you have forfeited your own
head.&amp;#8221;&lt;/p&gt;

&lt;p&gt;The scribe replied: &amp;#8220;What was written, was, and is.&amp;#8221;&lt;/p&gt;

&lt;p&gt;Said the abbess: &amp;#8220;Yet the bridge stands undamaged, and all
parties refute your account.  As proof of your willful deceit
I offer these printouts of the various versions of the page
in question, obtained from your own repository.&amp;#8221;&lt;/p&gt;

&lt;p&gt;The scribe said nothing.&lt;/p&gt;

&lt;p&gt;Said the abbess: &amp;#8220;The first version contains only the text of an
email.  The sender suggests that you author a
case wherein a stubborn monk is corrected by finding himself
halfway across an impassible bridge.&amp;#8221;&lt;/p&gt;

&lt;p&gt;The scribe nodded and replied: &amp;#8220;One point oh.&amp;#8221;&lt;/p&gt;

&lt;p&gt;Said the abbess: &amp;#8220;The next version gives an elaborate account
of master &lt;a href="/names/Suku"&gt;Suku&lt;/a&gt; and the monk Landhwa.  Here, Suku
corrects the monk by unfastening the planks on
her side of bridge, much as the email suggests.&amp;#8221;&lt;/p&gt;

&lt;p&gt;The scribe nodded again and replied: &amp;#8220;One point one.&amp;#8221;&lt;/p&gt;

&lt;p&gt;Said the abbess: &amp;#8220;A later version changes the monk to
Wangohan.  Here, Suku releases a basket of trained cobras on
the bridge to slither towards the hapless monk.  This one is
my favorite, for its elegant use of snakes throughout.&amp;#8221;&lt;/p&gt;

&lt;p&gt;The scribe bowed and replied: &amp;#8220;One point four.&amp;#8221;&lt;/p&gt;

&lt;p&gt;Said the abbess: &amp;#8220;The final version has master Suku reduce
the bridge to ashes.  A most obvious falsehood.&amp;#8221;&lt;/p&gt;

&lt;p&gt;The scribe replied: &amp;#8220;One point six.&amp;#8221;&lt;/p&gt;

&lt;p&gt;Said the abbess: &amp;#8220;Can you speak a word which will convince
me to let you keep your head?&amp;#8221;&lt;/p&gt;

&lt;p&gt;The scribe said nothing, but calmly sat at his desk and took
up his keyboard.  Behind him, the guards unsheathed their swords.&lt;/p&gt;

&lt;img class="break" src="/images/hrule.png" alt="- - -" /&gt;

&lt;p&gt;At precisely 7:07 on the first clear morning of the first week
of spring, the old scribe Qi awoke to the chattering of a
magpie in the tree outside his window.  Through the
branches, the cold, charred remains of Zjing&amp;#8217;s bridge could be
seen.&lt;/p&gt;

&lt;p&gt;Said the scribe to the magpie: &amp;#8220;One point six point one.&amp;#8221;
&lt;/p&gt;


&lt;/div&gt;

</description>
    </item>
    <item>
      <title>Case 88: Suku's Adviser</title>
      <link>http://thecodelesscode.com/case/88</link>
      <pubDate>Tue, 30 Apr 2013 00:00:00 -0400</pubDate>
      <guid>http://thecodelesscode.com/case/88</guid>
      <description>&lt;div class="koan"&gt;
&lt;p&gt;The &lt;a href="/names/Spider Clan"&gt;Spider Clan&lt;/a&gt;'s chief abbot had entrusted their newest
application to the monk &lt;a href="/names/Wangohan"&gt;Wangohan&lt;/a&gt;, allowing him to
develop it as he so desired.  At the end of the first month,
master &lt;a href="/names/Suku"&gt;Suku&lt;/a&gt; was called in to review the monk&amp;#8217;s progress.&lt;/p&gt;

&lt;p&gt;&amp;#8220;You have chosen a web framework which has never been used
at the Temple,&amp;#8221; Suku observed.  &amp;#8220;I cannot say whether you
are employing it well or poorly, but your code twists and
wriggles around the API like a snake among the brambles.&amp;#8221;&lt;/p&gt;

&lt;p&gt;&amp;#8220;I had read many encouraging reviews of this
framework,&amp;#8221; explained the monk.  &amp;#8220;All were promises written
upon the morning wind.  Now this snake has lost
his way.&amp;#8221;&lt;/p&gt;

&lt;img src="http://thecodelesscode.com/cases/88/lantern-smoke.jpg"
      /&gt;

&lt;p&gt;&amp;#8220;Nostrils in the cold underbrush; tail still warm in
sunlight,&amp;#8221; said Suku.&lt;/p&gt;

&lt;p&gt;Wangohan shook his head.  &amp;#8220;I have come too far to
turn back now.  What advice can you give for the journey
forward?&amp;#8221;&lt;/p&gt;

&lt;p&gt;&amp;#8220;None at this time,&amp;#8221; said Suku.  &amp;#8220;But at midnight tonight,
take up a lantern and follow the path that crosses
&lt;a href="/names/Zjing"&gt;Zjing&lt;/a&gt;'s Bridge.  I will send an adviser to wait for you on
the other side.&amp;#8221;&lt;/p&gt;

&lt;p&gt;When the appointed hour had arrived, Wangohan stole away
from the abbey and started across the long, swaying bridge
that spanned the chasm.  He had just reached its
midpoint when the planks of the far end burst into flame.  Fire shot down the ropes toward the terrified monk; half the
bridge was now ablaze.  In the terrible light, master Suku
could now be seen on the far end, extinguishing her lantern
and walking away.&lt;/p&gt;

&lt;p&gt;Backing away from the inferno, Wangohan was enlightened.&lt;/p&gt;

&lt;img src="http://thecodelesscode.com/cases/88/lantern.jpg" 
      /&gt;


&lt;/div&gt;

</description>
    </item>
    <item>
      <title>Case 87: The Concubine's Fog</title>
      <link>http://thecodelesscode.com/case/87</link>
      <pubDate>Sun, 31 Mar 2013 00:00:00 -0400</pubDate>
      <guid>http://thecodelesscode.com/case/87</guid>
      <description>&lt;div class="koan"&gt;
&lt;p&gt;Master &lt;a href="/names/Banzen"&gt;Banzen&lt;/a&gt; was investigating the monks of the
&lt;a href="/names/Spider Clan"&gt;Spider Clan&lt;/a&gt; in a distant abbey.  After examining the
source code of their most critical web application,
Banzen summoned the head abbot.&lt;/p&gt;

&lt;p&gt;&amp;#8220;Explain,&amp;#8221; said Banzen, pointing to a screen where the
application was running.&lt;/p&gt;

&lt;p&gt;The master&amp;#8217;s finger rested upon a small form which had been
grayed out.  Its text fields could not be typed in; its
buttons could not be pressed.&lt;/p&gt;

&lt;p&gt;&amp;#8220;That form delivers information of a most sensitive nature,&amp;#8221;
said the abbot.  &amp;#8220;If the user lacks sufficient authorization,
the form is disabled and appears thus: pallid and faint.&amp;#8221;&lt;/p&gt;

&lt;p&gt;Banzen stroked his wispy beard.  &amp;#8220;By the governor&amp;#8217;s decree,
the House of Concubines is shrouded in fog.&amp;#8221;&lt;/p&gt;

&lt;p&gt;Banzen then called up the page&amp;#8217;s HTML source.  Studying it
briefly, he composed a URL in the location bar and hit
Enter.  The forbidden information appeared on the screen.&lt;/p&gt;

&lt;p&gt;The head abbot&amp;#8217;s face turned an ashen hue.&lt;/p&gt;

&lt;p&gt;Said Banzen, &amp;#8220;Fog makes an excellent curtain, but a poor wall.&amp;#8221;
&lt;/p&gt;


&lt;/div&gt;

</description>
    </item>
    <item>
      <title>Case 86: Liberation</title>
      <link>http://thecodelesscode.com/case/86</link>
      <pubDate>Thu, 28 Mar 2013 00:00:00 -0400</pubDate>
      <guid>http://thecodelesscode.com/case/86</guid>
      <description>&lt;div class="koan"&gt;
&lt;p&gt;Master &lt;a href="/names/Banzen"&gt;Banzen&lt;/a&gt; was investigating the novices of a distant
abbey.  Their designs and implementations caused him much disquiet.&lt;/p&gt;

&lt;p&gt;&amp;#8220;Who reviews your code?&amp;#8221; asked Banzen.&lt;/p&gt;

&lt;p&gt;&amp;#8220;Our masters have us review each other&amp;#8217;s code,&amp;#8221; explained one
of the novices.  &amp;#8220;This leaves them free for more important duties.&amp;#8221;&lt;/p&gt;

&lt;p&gt;&amp;#8220;Indeed,&amp;#8221; said Banzen.  He hurled his staff hard across the
room to the abbey&amp;#8217;s fusebox, which burst apart in a shower of sparks.  All the screens went dark.&lt;/p&gt;

&lt;p&gt;Banzen retrieved his staff, saying: &amp;#8220;Now their electrons are
free as well.&amp;#8221;
&lt;/p&gt;


&lt;/div&gt;

</description>
    </item>
    <item>
      <title>Case 85: Suku's Golden Mean</title>
      <link>http://thecodelesscode.com/case/85</link>
      <pubDate>Sun, 24 Mar 2013 00:00:00 -0400</pubDate>
      <guid>http://thecodelesscode.com/case/85</guid>
      <description>&lt;div class="koan"&gt;
&lt;p&gt;Two monks approached master &lt;a href="http://thecodelesscode.com/names/Suku"&gt;Suku&lt;/a&gt; to settle a dispute.&lt;/p&gt;

&lt;p&gt;The first monk said, &amp;#8220;I have proposed a truly elegant
design, but this monk says it is too complex and cannot be
maintained.&amp;#8221;&lt;/p&gt;

&lt;p&gt;The second monk said, &amp;#8220;I have proposed a truly simple
design, but this monk says it is too limited and
will not be useful.&amp;#8221;&lt;/p&gt;

&lt;p&gt;Suku turned to her whiteboard and drew a large &lt;i&gt;phi&lt;/i&gt;, thusly:&lt;/p&gt;

&lt;div &gt;
&lt;img src="http://thecodelesscode.com/cases/85/phi.jpg" alt="&amp;#x03A6;"
     title="Suku used to hang out in university bars and bet the mathematicians that she could add zero to one and get a result strictly between one and two.  But then she found it was easier to just wait until they were drunk and steal their wallets."
      /&gt;
&lt;/div&gt;

&lt;p&gt;The first monk said, &amp;#8220;I do not understand.&amp;#8221;&lt;/p&gt;

&lt;p&gt;The second monk said, &amp;#8220;Nor do I.&amp;#8221;&lt;/p&gt;

&lt;p&gt;Suku replied, &amp;#8220;You argue in booleans; in zeros and
ones.  Come back when you have learned floating point.&amp;#8221;&lt;/p&gt;

&lt;h2&gt;Qi&amp;#8217;s commentary&lt;/h2&gt;

&lt;p&gt;&lt;a href="http://thecodelesscode.com/names/Kaimu"&gt;Kaimu&lt;/a&gt; holds court over novices and masters, but they send
the real fools to Suku.
&lt;a href="http://thecodelesscode.com/case/24"&gt;Kaimu&amp;#8217;s &lt;i&gt;null&lt;/i&gt;&lt;/a&gt; can un-ask a bad question,
but Suku&amp;#8217;s &lt;i&gt;phi&lt;/i&gt; will undo two bad answers.&lt;/p&gt;

&lt;h2&gt;Qi&amp;#8217;s poem&lt;/h2&gt;

&lt;p&gt;Kaimu has his &lt;i&gt;null&lt;/i&gt;. &lt;br/&gt;
Suku prefers her golden mean. &lt;br/&gt;
The first commands reconsideration&amp;mdash;&lt;br/&gt;
the second, compromise.&lt;/p&gt;


&lt;/div&gt;

</description>
    </item>
    <item>
      <title>Case 84: What It Says On The Tin</title>
      <link>http://thecodelesscode.com/case/84</link>
      <pubDate>Tue, 26 Mar 2013 00:00:00 -0400</pubDate>
      <guid>http://thecodelesscode.com/case/84</guid>
      <description>&lt;div class="koan"&gt;
&lt;p&gt;&lt;a href="/names/Wangohan"&gt;Wangohan&lt;/a&gt;, a monk in &lt;a href="/names/Suku"&gt;Suku&lt;/a&gt;'s charge, had struggled
for two miserable days to divine the cause of a bug.  On the
third day, as he stepped slowly through his own source code,
Wangohan was illuminated.&lt;/p&gt;

&lt;p&gt;With anger in his breast and a code listing in his hand,
Wangohan entered the cubicle of a monk named &lt;a href="/names/Landhwa"&gt;Landhwa&lt;/a&gt;.  Wangohan slammed the pages down on Landhwa&amp;#8217;s desk and jabbed
his finger at a variable circled in red.&lt;/p&gt;

&lt;p&gt;&amp;#8220;There is a variable in this method named
&lt;tt&gt;completedOrders&lt;/tt&gt;,&amp;#8221; fumed Wangohan.  &amp;#8220;It was meant to
hold orders whose status is &lt;tt&gt;COMPLETED&lt;/tt&gt;: this should
be evident from the name alone.  Why, then, did you add
&lt;tt&gt;FAILED&lt;/tt&gt; orders to it on this line?  I had no way of
knowing that the variable&amp;#8217;s purpose had changed.  My latest enhancements have all been in error!&lt;/p&gt;

&lt;p&gt;Landhwa yawned and sprinkled some cinnamon on his &lt;i&gt;hotteok.&lt;/i&gt;
&amp;#8220;Creating a separate variable would have complicated my task.  And changing the name of the existing variable was not necessary
since it still holds completed orders&amp;mdash;for the most part.&amp;#8221;&lt;/p&gt;

&lt;p&gt;Wangohan bowed coldly and went out.&lt;/p&gt;

&lt;p class='break'&gt;&amp;ndash;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;ndash;&amp;nbsp;&amp;nbsp;&amp;nbsp&amp;ndash;&lt;/p&gt;

&lt;p&gt;Later that week, Master Suku summoned Wangohan to her chamber.&lt;/p&gt;

&lt;p&gt;&amp;#8220;The monk Landhwa has been taken ill,&amp;#8221; she explained with
one eyebrow raised.  &amp;#8220;Stomach cramps of a most unpleasant
nature.  The cause is unknown, but Landhwa whispered your
name weakly before his last dash to the lavatory.&amp;#8221;&lt;/p&gt;

&lt;p&gt;Wangohan spread his palms wide.  &amp;#8220;I have no idea what ails
the monk.  But in his pantry there is a jar labelled
&amp;#8216;cinnamon&amp;#8217; which I have recently been using to store my own
blend of that spice.  If he has tasted it, please assure
him that it is only cinnamon&amp;mdash;for the most part.&amp;#8221;&lt;/p&gt;


&lt;/div&gt;

</description>
    </item>
    <item>
      <title>Case 83: Consequences</title>
      <link>http://thecodelesscode.com/case/83</link>
      <pubDate>Sun, 03 Mar 2013 00:00:00 -0500</pubDate>
      <guid>http://thecodelesscode.com/case/83</guid>
      <description>&lt;div class="koan"&gt;
&lt;p&gt;A senior monk had applied for admittance into the temple.  The Abbess &lt;a href="http://thecodelesscode.com/names/Jinyu"&gt;Jinyu&lt;/a&gt; was called in to investigate the man.&lt;/p&gt;

&lt;p&gt;&amp;#8220;I will dictate a domain,&amp;#8221; she said, gesturing at the
whiteboard with her cane.  &amp;#8220;You will model an
implementation in Java.&amp;#8221;&lt;/p&gt;

&lt;p&gt;The monk bowed and uncapped a green marker.&lt;/p&gt;

&lt;p&gt;&amp;#8220;All soldiers of the Imperial Army must know their rank,&amp;#8221;
began the abbess.  &amp;#8220;The Emperor may order a soldier to fight
to the death, and no one but a soldier can be told to do
this...&amp;#8221;&lt;/p&gt;

&lt;p&gt;The monk bowed and drew a rectangle, inscribed with
instance variables and methods as was his custom.&lt;/p&gt;

&lt;p&gt;&amp;#8220;Some soldiers are archers,&amp;#8221; continued the abbess, &amp;#8220;each of whom
must know the number of arrows in their possession.  The
Emperor may order an archer to shoot a distant foe, and no one
but an archer can be told to do this...&amp;#8221;&lt;/p&gt;

&lt;p&gt;The monk bowed and drew a second rectangle, joined to the
first.&lt;/p&gt;

&lt;p&gt;&amp;#8220;Some soldiers are horsemen,&amp;#8221; continued the abbess, &amp;#8220;each of whom
must know the horse they have been assigned.  The Emperor
may order a horseman to trample the enemies in his path, and no one
but a horseman can be told to do this...&lt;/p&gt;

&lt;p&gt;The monk bowed and drew a third rectangle, similar to the
second.&lt;/p&gt;

&lt;p&gt;&amp;#8220;Finally,&amp;#8221; concluded the abbess, &amp;#8220;Some soldiers belong to
the Flying Rain of Fire, a cadre whose members are both
archers and horsemen in every respect.  The Emperor may
order his Flying Rain to lead the charge, and no one but the
Flying Rain has this privilege.&amp;#8221;&lt;/p&gt;

&lt;p&gt;The monk hesitated.  For a full minute he did nothing but
frown at the whiteboard; all present could sense the
fierce calculations taking place behind the monk&amp;#8217;s calm
visage.&lt;/p&gt;

&lt;p&gt;A nun of the temple whispered to Jinyu: &amp;#8220;This problem has
several solutions, but I dislike all of them.&amp;#8221;&lt;/p&gt;

&lt;p&gt;&amp;#8220;Therein lies its value,&amp;#8221; whispered the abbess in reply.  &amp;#8220;For we are all of us doomed in this profession: our designs
may aspire to celestial purity, yet all requirements are
born in the muck of a pig-sty. &lt;a class="footnoteref" id="noteref-*" href="#note-*"&gt;&lt;sup class="footnote"&gt;*&lt;/sup&gt;&lt;/a&gt; I trust that this monk
can succeed when the stars align in his favor, but when they
do not, how will he choose to fail?  By cowardly surrender?  By costly victory?  By erroneous compromise?  For it is not
he alone but the temple that must bear the consequences.&amp;#8221;&lt;/p&gt;

&lt;div class='footnotes'&gt;
&lt;div class='footnote' id="note-*"&gt;&lt;a href="#noteref-*"&gt;&lt;sup class="footnote"&gt;*&lt;/sup&gt;&lt;/a&gt; In Jinyu's parlance, the "pig-sty" usually meant "the world outside the temple walls," or sometimes, "my youngest son's bedroom."&lt;/div&gt;
&lt;/div&gt;



&lt;/div&gt;

</description>
    </item>
    <item>
      <title>Case 82: Jinyu's Tack</title>
      <link>http://thecodelesscode.com/case/82</link>
      <pubDate>Sun, 03 Mar 2013 00:00:00 -0500</pubDate>
      <guid>http://thecodelesscode.com/case/82</guid>
      <description>&lt;div class="koan"&gt;
&lt;p&gt;Whenever a new applicant arrived at the Temple hoping to fill
some recently-vacated position, &lt;a class="footnoteref" id="noteref-1" href="#note-1"&gt;&lt;sup class="footnote"&gt;1&lt;/sup&gt;&lt;/a&gt; Old Madame &lt;a href="http://thecodelesscode.com/names/Jinyu"&gt;Jinyu&lt;/a&gt;&amp;mdash;the
Abbess Over All Clans and Concerns&amp;mdash;was respectfully invited
to attend the interview.&lt;/p&gt;

&lt;p&gt;Masters and senior monks would begin with the customary
questions, such as &amp;#8220;What frameworks have you used?&amp;#8221;
and &amp;#8220;How many years&amp;#8217; experience do you have with each?&amp;#8221; &lt;a class="footnoteref" id="noteref-2" href="#note-2"&gt;&lt;sup class="footnote"&gt;2&lt;/sup&gt;&lt;/a&gt;
The questions would grow increasingly technical, and old
Jinyu would appear to nod off in her corner.  Eventually,
though, her beady eyes would snap open, sharp and clear as a raven&amp;#8217;s;
then she would point to the whiteboard with her cane and say:&lt;/p&gt;

&lt;p&gt;&amp;#8220;The Imperial Army wishes to catalog its many weapons.  It
recognizes four types: the staff, the spear, the sword, and
the knife.  Each has a length, which may vary from weapon to
weapon.  Each has a weight, which is calculated from
the length according to the weapon&amp;#8217;s type.  In all respects,
a knife is merely a sword whose length is exactly two
&lt;i&gt;chi&lt;/i&gt;.  Now: show me the classes you would create!&amp;#8221;&lt;/p&gt;

&lt;p&gt;Then, arms folded, she would sit back and observe.  Sometimes she would leave the room after the class diagram
had been drawn; sometimes she would stay and alter the
problem, observing the changes made in response.&lt;/p&gt;

&lt;p&gt;This puzzled the younger monks, who would ask her timidly:
&amp;#8220;Why do you not read the many r&amp;#x00E9;sum&amp;#x00E9; pages supplied, or
inquire about the candidate&amp;#8217;s proficiency in our chosen
technologies?&amp;#8221;&lt;/p&gt;

&lt;p&gt;Jinyu would then thwock them with her cane and reply: &amp;#8220;Many
good hammers may be found in the stalls of the marketplace,
and many bad ones as well.  When autumn blows the shingles from
the temple roof, I do not care whether a tool once
belonged to the Emperor&amp;#8217;s most celebrated roof-builder,
if it cannot drive my little tack straight and true.&amp;#8221;&lt;/p&gt;

&lt;div class='footnotes'&gt;
&lt;div class='footnote' id="note-1"&gt;&lt;a href="#noteref-1"&gt;&lt;sup class="footnote"&gt;1&lt;/sup&gt;&lt;/a&gt; It may surprise you to learn that positions were usually vacated &lt;i&gt;peacefully and voluntarily&lt;/i&gt; by their occupiers -- provided that you regard honorable suicide as an extremely formal method of resignation.&lt;/div&gt;
&lt;div class='footnote' id="note-2"&gt;&lt;a href="#noteref-2"&gt;&lt;sup class="footnote"&gt;2&lt;/sup&gt;&lt;/a&gt; Questions such as "What is your blood type?" and "How would you rate your tolerance for physical pain?" were usually handled by Human Resources.&lt;/div&gt;
&lt;/div&gt;


&lt;/div&gt;

</description>
    </item>
    <item>
      <title>Case 81: Bubble Sort</title>
      <link>http://thecodelesscode.com/case/81</link>
      <pubDate>Fri, 03 May 2013 00:00:00 -0400</pubDate>
      <guid>http://thecodelesscode.com/case/81</guid>
      <description>&lt;div class="koan"&gt;
&lt;img src="http://thecodelesscode.com/cases/81/can.jpg"
     title="AutoIncrement's primary ingredients are caffeine and electricity.  When you need to come down, try AutoDecrement: it's basically just chamomile and quaaludes."
       /&gt;

&lt;p&gt;Walking the halls of his abbey late at night, master
&lt;a href="/names/Bawan"&gt;Bawan&lt;/a&gt; came upon a monk in distress.  A morning deadline
was fast approaching, and after three all-nighters the exhausted
monk had dropped his only remaining coins into the soda machine without
first noticing the paper sign taped to it.  The sign read
&lt;span &gt;&lt;tt&gt;OUT&lt;/tt&gt; &lt;tt&gt;OF&lt;/tt&gt; &lt;tt&gt;ORDER&lt;/tt&gt;&lt;/span&gt;
in large red
capitals.&lt;/p&gt;

&lt;p&gt;&amp;#8220;Can you fix it?&amp;#8221; asked the monk, who knew of Bawan&amp;#8217;s skill
with primitive machines.&lt;/p&gt;

&lt;p&gt;Bawan studied the machine for a moment, then crossed out the letters
of the sign and under them wrote &lt;tt&gt;DEFOOORRTU&lt;/tt&gt;.  Immediately a soda can dropped into the chute.&lt;/p&gt;

&lt;p&gt;Satisfied, Bawan continued on his way.&lt;/p&gt;


&lt;/div&gt;

</description>
    </item>
    <item>
      <title>Case 80: A Breed Apart</title>
      <link>http://thecodelesscode.com/case/80</link>
      <pubDate>Sun, 14 Apr 2013 00:00:00 -0400</pubDate>
      <guid>http://thecodelesscode.com/case/80</guid>
      <description>&lt;div class="koan"&gt;
&lt;img src="http://thecodelesscode.com/cases/80/breed-teaser.jpg"
     title=""
     
     /&gt;

&lt;p&gt;Java master &lt;a href="/names/Bawan"&gt;Bawan&lt;/a&gt; and a young monk in his charge were
walking down a road, when they came upon an emissary of the
Emperor.&lt;/p&gt;

&lt;p&gt;After the usual greetings were exchanged, the emissary
turned to Bawan and with disdain asked, &amp;#8220;Why does your monk
not groom himself according to the imperial edicts of
professional attire?  His face is unshaven, his footwear
unforgiveably gaudy, and his robes are made of cheap
cotton with a humorous slogan adorning the back.  This is
disrespectful to you in the extreme!  Why do you tolerate
it?&amp;#8221;&lt;/p&gt;

&lt;p&gt;In a haughty voice, Bawan replied, &amp;#8220;This is not some lowly
bead-pusher employed by a counting house, nor some tenth
rank scribe in the Grand Bureaucracy!  &lt;i&gt;This&lt;/i&gt; is a monk of
the &lt;a href="/names/Temple of the Morning Brass Gong"&gt;Temple of the Morning Brass Gong&lt;/a&gt;, who practices the
glorious arts of Java, C, and PHP; of Python and Perl;
Bourne shell and Korn shell; SQL, JPL, XML, CSS3 and
Javascript too.  He can&amp;mdash;with the merest flickering of his
fingers on a keyboard&amp;mdash;summon entire websites into
existence, wherein horses and armor befitting the Emperor&amp;#8217;s
most august regiments may be purchased with two-day shipping
guaranteed.  He has demonstrated proficiency in both
debugging and re-bugging: the yin and yang around which all blessed
commerce revolves!  He and his fellows &lt;i&gt;cannot&lt;/i&gt; and &lt;i&gt;will not&lt;/i&gt;
be held to our generation&amp;#8217;s trivial ideals of personal
hygiene.  The monks of his Temple are a breed apart!&amp;#8221;&lt;/p&gt;

&lt;p&gt;Thus chastened, the emissary bowed coldly and continued on his way.&lt;/p&gt;

&lt;p&gt;When the fellow was out of earshot, the young monk smirked at
Bawan, saying, &amp;#8220;That emissary was most assuredly an idiot, to
need such things explained to him in this day and age.&amp;#8221;&lt;/p&gt;

&lt;p&gt;Bawan cast an eye over the monk&amp;#8217;s stubbled cheek and
irreverent garments.  Without warning the master swung his
staff hard into the back of the monk&amp;#8217;s skull, killing him on the spot.&lt;/p&gt;

&lt;p&gt;&amp;#8220;I, too, am a breed apart,&amp;#8221; said Bawan thoughtfully.&lt;/p&gt;

&lt;img src="http://thecodelesscode.com/cases/80/breed.jpg"
     title="He also ate crunchy snack food practically every damned hour of the workday.  He had it coming."
     
     /&gt;


&lt;/div&gt;

</description>
    </item>
    <item>
      <title>Case 79: Cave Canem</title>
      <link>http://thecodelesscode.com/case/79</link>
      <pubDate>Sat, 30 Mar 2013 00:00:00 -0400</pubDate>
      <guid>http://thecodelesscode.com/case/79</guid>
      <description>&lt;div class="koan"&gt;
&lt;p&gt;A certain nun of the &lt;a href="/names/One Shoe Clan"&gt;One Shoe Clan&lt;/a&gt; had run afoul of some
sample code in a PHP tutorial.  The sample contained
error-handling code which was not intended for actual
production use, yet this was not clear from the text.  The
nun copied the code dutifully, and disaster was the result.&lt;/p&gt;

&lt;p&gt;When the crisis had passed, the nun found the old scribe
&lt;a href="/names/Qi"&gt;Qi&lt;/a&gt; writing in the Temple&amp;#8217;s great journal.  She bowed.  &amp;#8220;Say something of instruction books that teach
bad practices.&amp;#8221;&lt;/p&gt;

&lt;p&gt;Said the scribe, &amp;#8220;I will petition the masters on this subject.&amp;#8221;&lt;/p&gt;

&lt;p class='break'&gt;&amp;ndash;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;ndash;&amp;nbsp;&amp;nbsp;&amp;nbsp&amp;ndash;&lt;/p&gt;

&lt;img src="http://thecodelesscode.com/cases/79/dogbook.jpg"
     title="Most of my books are a little dog-eared."
     
     /&gt;

&lt;p&gt;The scribe brought the nun&amp;#8217;s request to master
&lt;a href="/names/Suku"&gt;Suku&lt;/a&gt;, who demanded readable code from all in her charge.&lt;/p&gt;

&lt;p&gt;Suku said: &amp;#8220;Books are faithful hounds, doing only as their
authors have raised them.  Some were doted upon, and
some sorely neglected.  If the Temple has been bitten, the
fault lies with the one who reared the animal.  His
writings should be cast upon the midden-heap.&amp;#8221;&lt;/p&gt;

&lt;p class='break'&gt;&amp;ndash;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;ndash;&amp;nbsp;&amp;nbsp;&amp;nbsp&amp;ndash;&lt;/p&gt;

&lt;p&gt;The scribe brought the nun&amp;#8217;s request to master &lt;a href="/names/Bawan"&gt;Bawan&lt;/a&gt;, who
reverently stroked the binder of his ANSI C Handbook.&lt;/p&gt;

&lt;p&gt;Bawan said: &amp;#8220;Books are sleeping dogs, incapable of mischief on
their own.  Some are tame and some rabid, so all are
best awoken with caution.  If the Temple has been
bitten, the fault lies with the one who disturbed the
animal.  The nun should be punished.&amp;#8221;&lt;/p&gt;

&lt;p class='break'&gt;&amp;ndash;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;ndash;&amp;nbsp;&amp;nbsp;&amp;nbsp&amp;ndash;&lt;/p&gt;

&lt;p&gt;The scribe brought the nun&amp;#8217;s request to the unhappy
master &lt;a href="/names/Banzen"&gt;Banzen&lt;/a&gt;, who sought perfection in all things
and seldom found it.&lt;/p&gt;

&lt;p&gt;Banzen said: &amp;#8220;Books are wild mongrels, taking part of their
nature from the writer and part from the reader.  If the
Temple has been bitten, the fault lies chiefly with the
animal&amp;#8217;s teeth.  The only correction required is one
done with ink.&amp;#8221;&lt;/p&gt;

&lt;p class='break'&gt;&amp;ndash;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;ndash;&amp;nbsp;&amp;nbsp;&amp;nbsp&amp;ndash;&lt;/p&gt;

&lt;p&gt;&lt;div &gt;&lt;/p&gt;

&lt;p&gt;The old scribe returned to the nun, and placed his great
journal in her hands.  &amp;#8220;I have investigated the issue of
instruction books.&amp;#8221;&lt;/p&gt;

&lt;p&gt;The nun found the most recent case, which appeared to be
unfinished.  &amp;#8220;I see the testimonies of three masters,&amp;#8221; she
said, &amp;#8220;yet all are in contradiction.  What will
you write in conclusion?&amp;#8221;&lt;/p&gt;

&lt;p&gt;The scribe barked three times and went out.&lt;/p&gt;

&lt;p&gt;&lt;/div&gt;
&lt;/p&gt;


&lt;/div&gt;

</description>
    </item>
  </channel>
</rss>
