<?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>The Changelog &#187; python</title>
	<atom:link href="http://changelog.complete.org/archives/tag/python/feed" rel="self" type="application/rss+xml" />
	<link>http://changelog.complete.org</link>
	<description>Viewpoints on technology, society, and government</description>
	<lastBuildDate>Wed, 08 Feb 2012 09:48:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>If Programming Languages Were Christmas Carols</title>
		<link>http://changelog.complete.org/archives/825-if-programming-languages-were-christmas-carols</link>
		<comments>http://changelog.complete.org/archives/825-if-programming-languages-were-christmas-carols#comments</comments>
		<pubDate>Sat, 22 Nov 2008 05:14:39 +0000</pubDate>
		<dc:creator>John Goerzen</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[christmas]]></category>
		<category><![CDATA[haskell]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://changelog.complete.org/?p=825</guid>
		<description><![CDATA[Last spring, I posted If Version Contol Systems Were Airlines, which I really enjoyed. Now, because I seem to have a desire to take a good joke way too far, it&#8217;s time for: IF PROGRAMMING LANGUAGES WERE CHRISTMAS CAROLS I apologize in advance. (Feel free to add your own verses/carols in the comments.) Away in [...]]]></description>
			<content:encoded><![CDATA[<p>Last spring, I posted <a href="http://changelog.complete.org/archives/698-if-version-control-systems-were-airlines">If Version Contol Systems Were Airlines</a>, which I really enjoyed.  Now, because I seem to have  a desire to take a good joke way too far, it&#8217;s time for:</p>
<p>IF PROGRAMMING LANGUAGES WERE CHRISTMAS CAROLS</p>
<p>I apologize in advance.  (Feel free to add your own verses/carols in the comments.)</p>
<h3>Away in a Pointer (C)</h3>
<p>(to <a href="http://www.cyberhymnal.org/htm/a/w/awaymang.htm">Away in a Manger</a>)</p>
<p>Away in a pointer, the bits in a row.<br />
A little dereference to see where they go.<br />
I look down upon thee, and what do I see?<br />
A segfault and core dump, right there just for me.</p>
<p>I saw thy init there, a reaping away<br />
My process, from its address space, so sorry to say.<br />
I thought I had saved thee, from void pointers all,<br />
But maybe I missed one, and doomed you to fall.</p>
<p>Be near me, debugger, I ask thee to stay<br />
Close by my terminal, and help me, I pray;<br />
To find all the bugs and the void pointers too,<br />
And if my kernel oopses, help me reboot for you.</p>
<h3>Joy to the Wall (Perl)</h3>
<p>(to <a href="http://www.cyberhymnal.org/htm/j/o/joyworld.htm">Joy to the World</a>)</p>
<p>Joy to the Wall, the Perl is come!<br />
Let awk receive her King;<br />
Let every grep prepare him room,<br />
And bash and sed shall sing,<br />
And bash and sed shall sing,<br />
And bash, and bash, and sed shall sing.</p>
<p>Joy to the keyboard, we&#8217;ll use it all!<br />
Let men, shift keys, employ;<br />
Implicit variables, and globals never fall.<br />
Repeat the line noise now,<br />
Repeat the line noise now,<br />
Repeat, repeat, the line noise now.</p>
<p>Perl rules the world with truth and ASCII,<br />
And makes the doctors prove<br />
The glories of carpal tunnel hands,<br />
And we do it more than one way,<br />
And we do it more than one way,<br />
And we do it, and we do it, more than one way.</p>
<h3>Hark!  The Herald Coders Sing (Haskell)</h3>
<p>(to <a href="http://www.cyberhymnal.org/htm/h/h/a/hhangels.htm">Hark!  The Herald Angels Sing</a>)</p>
<p>Hark!  The herald coders sing,<br />
&#8220;Map and fold, recursive King;<br />
Recursion and patterns wild,<br />
Pure and IO &#8212; they&#8217;re reconciled!&#8221;<br />
Joyful, all ye functions rise,<br />
Join the typeclasses of the types,<br />
With recursion, do proclaim,<br />
&#8220;Laziness is born in this domain.&#8221;</p>
<p><i>Refrain</i><br />
Hark!  The herald coders sing,<br />
&#8220;Map and fold, recursive king!&#8221;</p>
<p>Monads, by highest Heav&#8217;n adored;<br />
Monads, their depths still unexplored;<br />
Late in time, behold they&#8217;re good,<br />
Never once were understood.<br />
Veiled in functions, the Monads stay,<br />
Used for IO, and more, each day,<br />
With excitement, Monads say,<br />
&#8220;Arrows are stranger, so with us stay.&#8221;</p>
<p><i>(Refrain)</i></p>
<p>Hail the glorious compiler of Glasgow!<br />
Hail the threaded run-time system!<br />
Join the beautiful Cabal of Hackage,<br />
Upload there thy perfect package.<br />
We know best, what we will Handle,<br />
You&#8217;re safe with us: no pointers, no vandals.<br />
Born to make your exceptions throw,<br />
Unless you unsafePerformIO.</p>
<p><i>(Refrain)</i></p>
<h3>Lispy the Paren</h3>
<p>(to <a href="http://www.operationlettertosanta.com/Kid Zone/Childrens Carols/Frosty_the_snowman.htm">Frosty the Snowman</a>)</p>
<p>Lispy the paren was a jolly happy soul,<br />
With a lot of cars and a little cons<br />
And two ends made out of curves.<br />
Lispy the paren is a fairy tale, they say,<br />
He was just common, but the children know<br />
how he came to life one day.<br />
There must have been some magic in that<br />
Old Symbolics they found.<br />
For when they placed him on its disk,<br />
It recursed around and &#8217;round.</p>
<p>O, Lispy the paren,<br />
Was recursive as can be.<br />
And the coders say it would take a day<br />
To put his parens away.<br />
Clunkety clunk clunk,<br />
Clunkety clunk clunk,<br />
Look at Lispy go.<br />
Clunkety clunk clunk,<br />
Clunkety clunk clunk,<br />
Consing on the car.</p>
<p>Lispy the snowman knew<br />
The keyboard was hot the day,<br />
So he said, &#8220;Let&#8217;s cons and we&#8217;ll have some fun<br />
now before they Scheme away.&#8221;<br />
Down to the function,<br />
With a list there in his RAM,<br />
Running here and there,<br />
all around the LAN, saying<br />
&#8220;cdr me if you can.&#8221;<br />
He led them down the streets of disk<br />
Right to the traffic bus.<br />
And only paused a moment when<br />
He heard them holler (quit).</p>
<h3>Oh BASIC Night</h3>
<p>(to <a href="http://www.cyberhymnal.org/htm/o/h/oholynit.htm">O Holy Night</a>)</p>
<p>Oh BASIC night, the LEDs are brightly glinting;<br />
It is the night of the dear GOSUB&#8217;s birth!<br />
Long lay the world in sin and error printing,<br />
Till you appeared and the RAM felt its worth.<br />
Shiver of fear, line numbers do inspire,<br />
For yonder breaks a mostly harmless GOTO.<br />
Fall on your bits, O hear the Visual voices!<br />
O BASIC divine, O BASIC where GOTO was born!<br />
O BASIC, O Holy BASIC, O BASIC, you&#8217;re mine!</p>
<p>Some want to say, &#8220;GOTO is harmful always,&#8221;<br />
But what of them, in their post-modern world.<br />
We PRINT the truth, in the line-numbered goodness,<br />
But Dijkstra appeared, and the faith, it was lost.<br />
A thrill of hope, when .NET BASIC announces,<br />
But Visual BASIC, what kind of thing are you?<br />
Fall on your GUI, O see the old line numbers!<br />
Behold BASICA, O BASIC when DOS was born!<br />
O numbers, O lines, spaghetti divine!</p>
<h3>Guido We Have Heard on High (Python)</h3>
<p>(to <a href="http://www.cyberhymnal.org/htm/a/n/angelswe.htm">Angels We Have Heard on High</a>)</p>
<p>Guido we have hard on high<br />
Sweetly indenting o&#8217;re the code,<br />
And the functions in reply<br />
Their exceptions sweetly flowed.</p>
<p><i>Refrain</i></p>
<p>Indent&#8230;..  in your whitespace careful!<br />
Indent&#8230;&#8230; in your whitespace careful!</p>
<p>Spaces, why this jubilee?<br />
Why semicolons have you so wronged?<br />
What backslashes must we use<br />
If we want our lines so long?</p>
<p><i>(Refrain)</i></p>
<p>Come to Guido here to see<br />
&#8220;One Right Way&#8221; is good, of course.<br />
There&#8217;s no need for Perl, you know,<br />
We have to be more verbose.</p>
<p><i>(Refrain)</i></p>
<p>Now the PEP will show the way<br />
To the future, we shall see.<br />
Banish lambda and the rest<br />
Of the things we liked the best.</p>
<p><i>(Refrain)</i></p>
]]></content:encoded>
			<wfw:commentRss>http://changelog.complete.org/archives/825-if-programming-languages-were-christmas-carols/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

