Article View: comp.lang.modula2
Article #2907Re: Report on defect in M2 vs C (Was Modula-2, Modula-3, C o
From: Peter Moylan
Date: Sun, 15 Oct 1995 23:36
Date: Sun, 15 Oct 1995 23:36
45 lines
1955 bytes
1955 bytes
FIFTY WAYS TO HOSE YOUR CODE
(with apologies to Paul Simon)
The problem's all inside your code she said to me;
Recursion is easy if you take it logically.
I'm here to help you if you're struggling to learn C,
There must be fifty ways to hose your code.
She said its' really not my habit to #include,
And I hope my files won't be lost or misconstrued;
But I'll recompile at the risk of getting screwed,
There must be fifty ways to hose your code.
Just blow up the stack Jack,
Make a bad call Paul,
Just hit the wrong key Lee,
And set your pointers free.
Just mess up the Gus,
You don't need to recurse much,
You just listen to me.
She said it grieves me to see you compile again.
I wish there were some hardware that was't such pain.
I said I appreciate that and could you please explain,
About the fifty ways.
She said why don't we both just work on it tonight,
And I'm sure in the morning it'll be working just right.
Then she hosed me and I realized she probably was right,
There must be fifty ways to hose your code.
Just lose the address Les,
Clear the wrong Int Clint,
Traverse the wrong tree Lee,
And set your list free.
Just mess up the bus Gus,
You don't need to recurse much,
You just program in C.
--
Peter Moylan peter@ee.newcastle.edu.au
file://ee.newcastle.edu.au/pub/www/Moylan.html
Technical Details
Message-ID:
<45s5ua$s9t@seagoon.newcastle.edu.au>Path:
arc1-ca.pugleaf.net!fourier.newcastle.edu.au!peterReferences:
<78435-812136153@mindlink.bc.ca> <44olkm$mge@twonky.btv.ibm.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!fourier.newcastle.edu.au!peter From: peter@fourier.newcastle.edu.au (Peter Moylan) Newsgroups: comp.lang.modula2 Subject: Re: Report on defect in M2 vs C (Was Modula-2, Modula-3, C o Date: 15 Oct 1995 23:36:42 GMT Organization: The University of Newcastle Distribution: world Message-ID: <45s5ua$s9t@seagoon.newcastle.edu.au> References: <78435-812136153@mindlink.bc.ca> <44olkm$mge@twonky.btv.ibm.com> Reply-To: peter@tesla.newcastle.edu.au NNTP-Posting-Host: fourier.newcastle.edu.au X-Newsreader: TIN [version 1.2 PL2]