Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Channels ▼
RSS

.NET

Old Possum's Book of Pragmatic Programmers


'Managing programmers is like trying to herd cats' - Ellen Ullman, Close to the Machine.

Author’s note: This month I had originally determined to produce for you some poems parodying the style of T S Eliot’s well-known and well-loved volume Old Possum’s Book of Practical Cats. However, when I went back and reread the book, I discovered that in truth I don’t much like Eliot’s poems – they are sloppily written and affectedly sentimental, eccentric yet charmless. Whimsically naming a character ‘Jennyanydots’ may impress Lord Lloyd Weber, but it doesn’t cut the ice with me. Problem: if you don’t like the original, you can’t do a decent parody.

Here instead, then, are parodies of four poems that I do admire. But the headline and introduction, though now meaningless, seemed too good to change. So I didn’t – VS.

 

Sonnet 233 Mhz

My laptop’s size is nothing like a book;
Unlike my bag her weight drags down my arm;
If a mouse is like a digit, her pad’s a foot;
A fast disk like a storm, her drive is calm.
The latest bat’tries charge in half an hour –
In half a week my laptop cannot do it.
The best of keyboards click and clack with power;
Her tiny keyboard squidges like Mum’s suet.
To change some RAM should really be a cinch
Two dozen screws keep hers from prying eyes.
Through a mesh of blurry pixels, at a pinch,
I can discover where each fresh fault lies.
     One question irks me ev’ry day anew,
     How come this junk got five stars in review?

 

The Uncertainty of the Programmer

var
  i : TPoet;
begin
  Assert(i.fondness(bananas) >= VERY);

var
  i : TBananas;
begin
  Assert(i.fondness(poet) >= VERY);

type
  TPoet = class(TBananas) 
  end;
var
  i : TPoet;
begin  
  Assert(i.fondness >= VERY);

  i.i.fondness(poet);
  bananas >= VERY;

  if fondness(bananas = i) then
    if i then
       poet := VERY;

  Assert(poet.bananas);
  if fondness then
    if VERY then
      {nothing};

  Assert(i = poet.bananas);
  Assert(i.fondness(VERY));

  if bananas.fondness > VERY
    Assert(i in bananas);
  if i is TPoet then
    {nothing};

Ah. I see you too are having difficulties getting up to speed with CodeRush’s keyboard templates.

(Sorry. That one was just for Delphi heads.)

 

Porting an old library late one evening

Whose C this is I think I know:
I made it many moons ago
When I was young and full of passion
And K&R was all the fashion.

Strange beauty here. I see the traces
In overhanging curly braces
Of long-forgotten big ideas
My hopes and thoughts of former years.

My little Compaq stirs her drive
As if to say, Hey! Look alive
For goodness sake pull out your finger
We do not have the time to linger.

I close the file with little zest.
I’ve many modules yet to test,
And code to write before I rest,
And code to write before I rest.

 

Night Mail

This is the email crossing the router,
A transient blip on its trouble shooter,

Email for Harry, email for Tom,
Mail for dot uk and mail for dot com.

The data fly past, ip* in each packet
The network is loaded but this lot won’t crack it.

A glut from a recalcitrant mailing list
Which despite ‘unsubscribe’ will still not desist,

An adulterer’s hint to her partner in crime,
Some idiot’s Word file, bloated with MIME,

A letter to Feedback about Radio Four,
A rambling flame from some Christian bore,

A batch of blue jokes laced with tetragram**,
A job application, and spam spam spam.

But there’s rings on its fingers and bells on its toes,
Email spreads joy wherever it goes –

For surely the hardiest cynic can’t fail
To thrill at the popup: ‘You have new mail’.

 
*Pronounced ‘eye-pee’, obviously.
** A four letter word. The stress falls on first and last syllables. At least, it does in this poem.

 

Rampant self-indulgence

Happy Birthday to me,
Happy Birthday to me,
I’ve been writing this column on and off for ten years now,
Happy Birthday to me.

 

Verity Stob wishes to apologise to William ‘The Other Big Bill’ Shakespeare (Sonnet 130 – ‘My mistress’ eyes are nothing like the sun’), Wendy Cope (‘The Uncertainty of the Poet’), Robert Frost (‘Stopping By Woods On A Snowy Evening’), and W H Auden (his original also called ‘Night Mail’). But not to T S Eliot, nor to the writer of ‘Happy Birthday’.


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.