exit (-1): NULL pointer exception in dmr

First Steve Jobs and now Dennis Ritchie.

Turing Award laureate Ken Thompson (left), BS ...
Image via Wikipedia

A C Man’s Lament – Rupert Goodwin

The problem I find when I’m looking at lines
Of programs all written in C,
Is that the syntax and grammar resemble the stammer
Of a dyslexic demoralized bee.

I’ll bet any man here (I’ll wager a beer),
Can’t guess how to copy a string.
The mess is dramatic, all [
. & _ !

Pointers collected, and thrice indirected,
Collated in structs and compiled,
When traced by debugger can make coders shudder,
And conditionals drive a man wild.

I don’t wish to seem bitchy, but if only old Ritchie
Had been strangled a birth by a Nurse;
And the fate that I’ve planned for all Kernighan’s clan
Is unprintably several times worse.

I find that the pain begins with the main(),
The only way out is to hack it.
The one bit of syntax that keeps my mind intact
Is the very last }

I hope that this ode is clearer that code
I write in that monstrosity.
You might think that Pascal’s a bit of a rascal,
But the ultimate b*d is C.

My program is calling (in structure appalling),
I must finish my poetic plea.
But, let’s all face it, use Forth, LISP or BASIC,
Whatever you do, don’t use C.

Translator’s guide to pronunciation:
[ = open square bracket
. = dot
& = ampersand
_ = underscore
! = pling
} = close curly bracket
* = star

{lang: 'en-GB'}

When nine hundred years old you reach…

Oreo in his Yoda costume for Halloween
Image by SheepGuardingLlama via Flickr

Based on a thread from Stack Overflow, Joey deVilla gives us a new dictionary of technical jargon.  Sadly, definitions for Heisenbug and Bohrbug were missed off:

Heisenbug (n.) A computer bug that disappears or alters its characteristics when an attempt is made to study it. (named after the Heisenberg Uncertainty Principle)

Bohrbug (n.) A bug that manifests itself consistently under a well-defined (but possibly unknown) set of conditions. (named after the Bohr Atom Model)

(Wikipedia, 2010)

Apparantly, Yoda Conditions are considered best practice.

Reblog this post [with Zemanta]
{lang: 'en-GB'}