Give me your best programming haiku

Did you find this post useful? Show some love!

My code fails.
I do not know why.
My code works.
I do not know why.


>>> import this
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!


Think I'm a genius
Bend computers to my will
I just google stuff

coding is the best
don’t let it make you feel dumb
keep calm, debug on


we are all friends here
there is room for all people
but... tabs are for chumps

I will fight you man
tabs are better than spaces

Kung Pow face off

I can't tell a lie
your word skills are impressive
now I think we're friends

Sorry, I can’t stop!

python: less is more
ruby: devs should be happy
what langs do you love?

I'm a nice guy, but
write CSS in JS?
I'll lose my damn mind.

No code runs faster than no code.
No code has fewer bugs than no code.
No code uses less memory than no code.
No code is easier to understand than no code.

  • Mike Perham

what is with this code?
oh my, looks like I wrote it
what was I thinking?

All time favourite:

Cannot be located, but
Countless more exist.

Chaos reigns within.
Reflect, repent, and reboot.
Order shall return.

Program aborting:
Close all that you have worked on.
You ask far too much.

Windows NT crashed.
I am the Blue Screen of Death.
No one hears your screams.

Yesterday it worked.
Today it is not working.
Windows is like that.

Your file was so big.
It might be very useful.
But now it is gone.

Stay the patient course.
Of little worth is your ire.
The network is down.

A crash reduces
Your expensive computer
To a simple stone.

Three things are certain:
Death, taxes and lost data.
Guess which has occurred.

You step in the stream,
But the water has moved on.
This page is not here.

Out of memory.
We wish to hold the whole sky,
But we never will.

Having been erased,
The document you're seeking
Must now be retyped.

Serious error.
All shortcuts have disappeared.
Screen. Mind. Both are blank.

Ah that reminds me, need to put back my 404 page - thanks :)

Why doesn't this work?
I've checked syntax ninety times!
Oh, missed bracket.

You find the right names
avoid off-by-one errors
and document well

Code belongs to us
And never only to me

Why you need semicolon?,
It so much pointless,
Without brackets you fail,
You report a problem.

Why you dont get the type?,
You must be dynamic,
So many written lines,
Almost say nothing.

Give me some readable program,
Not this spaghetti,
Why are you not like python?,
Why java? Why?.

I will inherit.
The tangled coupling and debt!
I should have composed.

Why fight good standards?
Save your mind for real problems!
Just use Prettier.

Hold my breath, click "Build";
All tests display green checkmarks
Git add, commit, push

code, code, what if? code!
code, what if? code! what if? code.
Didn't think of that

Make it work,
Make it readeble,
Make it efficient.

I like JavaScript
It does not reciprocate
Without a "return"

Make your site look good,
fit on phones, have good colors.
CSS is Awesome


It's going to work!
Not again, my code has bugs.
I don't unit test.

"Make it open source"
Quickly clean up all your code
"It was always clean"

what's full-stack, really?
good at back-end not enough
i feel down lately.


If you don't know why it works it will touch you. With its teeth. On your ass.

Happy to be here
Learning code is fun
This is my first haiku

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live"
― John Woods

I learned now
What haiku is!
I love coding
Especially on linux!

i just developed
the most advanced AI
some of these are tabs

My pages are broke
Where did my mailing lists go
The server ate them

Where once there was a bug
There is now 1216 bugs
And the code
I linger on

Classic DEV Post from Aug 16


How women face 2018 in a society of the last century

Follow @brendazam to see more of their posts in your feed.
Ben Halpern
A Canadian software developer who thinks he’s funny.
Trending on
Barking at the right tree (1000 followers)
#meta #career #blog
What discontinued company/product do you wish was still around?
#discuss Show us your octocat alter ego
#showdev #discuss Review #4: Top 7 Of The Week, Discussed
#discuss #audio #bestofdev #popular
Choose Your Next Article Topic With This Exercise
#writing #productivity
Ask me dumb questions about functional programming
#discuss #javascript #beginners
Any idea how to start blogging as a developer?
#discuss #idea #blog
Ways to earn from Open Source Project as an Owner
#healthydebate #discuss #hacktoberfest