PDA

View Full Version : Programming Haikus (post your own)



Welder
11-07-2007, 01:38 PM
I came across a thread on this website about another programmer's frustration and it looked almost poetic, and others thought the same thing as well.

So it gave me the idea to start a thread where people can make up some programming Haikus and post them.

I'll start:

My mind has gone blank
Why can't I solve this problem
Please kickstart my brain

I am on a roll
Code flowing like a river
~Crash~! forgot to save...

Tuning out the world
I am in my own world now
I am such a geek

It's 4 in the morn
Haven't slept in three days
I really should bathe

Welder
11-07-2007, 01:41 PM
I could have been rich
I choose to go opensource
Code my life away

Welder
11-07-2007, 01:44 PM
My peers play outside
But I sit at home and code
I say l33t and pwn3d

Welder
11-07-2007, 01:46 PM
I could have had a life
But no programmer I be
What does sex feel like?

SlyMaelstrom
11-07-2007, 05:45 PM
if (interested)
printf("A little haiku");
else goto next_post;

Welder
11-07-2007, 07:31 PM
if (interested)
printf("A little haiku");
else goto next_post;

lol, that is awsome!

dwks
11-07-2007, 10:01 PM
A variation of the popular "recursion. n. 1. see recursion" that has an end condition and thus is proper recursion:

recursion. n. 1
if you still do not get it,
see recursion. 1

Welder
11-07-2007, 10:04 PM
hehe, you guys are thinking of stuff I never would have. Let me think for a minute and i'll figure out a "code" haiku.

Welder
11-07-2007, 10:14 PM
do { nothing_at_all();}
while(!super_bored++);
now_its_time_to.sleep();

dwks
11-07-2007, 10:20 PM
Don't pronounce the symbols, just the words that are more than one character long. Oh, and main()-recursion is of course only valid in C.


int main(int argc,
char *argv[]) { printf("bottle "
"#%d\n", argc--); main(argc-1); }

Okay, so that was really silly . . .

No, wait, I have it. An encryption program!

int main() { int value;
while((value = getchar()) != -1) putchar(
~value); puts("Goodbye."); }
It depends on EOF being -1, but still.

dwks
11-07-2007, 10:26 PM
It's a trend! programmershaiku.com

Hmm, a spin-off of Martin Luthur King, Jr.:

main cannot recur;
only others can do that.
except, of course, C.

Salem
11-08-2007, 01:45 AM
The Tao that is seen
Is not the true Tao, until
You bring fresh toner.
(http://www.gnu.org/fun/jokes/error-haiku.html)

indigo0086
11-08-2007, 08:00 AM
I need a Hazmat suit for such alarming levels of nerd.

CrazyNorman
11-08-2007, 04:31 PM
My most beautiful creation...


The pointer is null
But still I dereferenced it
Segmentation Fault

SlyMaelstrom
11-08-2007, 05:30 PM
The middle line is 8 syllables. :D

"But still I de-ref-er-enced it"

Just drop the "but" and I'd have to say it is an extremely clever haiku.

Daved
11-08-2007, 05:43 PM
I would pronounce it de-ref-renced.

Either way, I agree. Very nice.

CrazyNorman
11-08-2007, 06:16 PM
I debated about whether it was "de-ref-renced" or "de-ref-er-enced", but went with the first, hence the "but"

I guess if you have the need to speak it, you can choose the version you use based up on your pronunciation.

dwks
11-09-2007, 04:04 PM
A political statement!

Syntax highlighters:
the programs of the future.
Why not the present?

That's odd, because I was creating my own poem with "segmentation fault" in it . . .

whiteflags
11-09-2007, 10:00 PM
Hideki realized
that Chii turning on and off
was a design flaw.


well that's not programming... or is it?

Yarin
11-11-2007, 01:07 PM
http://cboard.cprogramming.com/showpost.php?p=687065&postcount=3