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


Hey there, we see you aren't signed in. (Yes you, the reader. This is a fake comment.)

Please consider creating an account on It literally takes a few seconds and we'd appreciate the support so much. ❤️

Plus, no fake comments when you're signed in. 🙃

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?

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?

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

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 :)

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

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

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?.

Code belongs to us
And never only to me

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

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

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


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

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

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

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

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

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

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

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

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

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

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


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

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

Classic DEV Post from May 27

How Did You Start Coding?

How Did You Start Coding?

Follow @saigowthamr to see more of their posts in your feed. is now open source!
View Announcement Post View GitHub Repo
Ben Halpern
A Canadian living in New York, having a lot of fun cultivating this community! Creator and webmaster of
Trending on
What are your thoughts on multiples package managers?
Style your Terminal better by mastering these settings 🤩
#terminal #productivity #tools #webdev
Looking For a Simpler Way To Develop WordPress Themes Locally.
#wordpress #discuss #help
What are/were your go to resources for learning Ruby and Rails?
#discuss #ruby
Dev.To Discord Channel?
What's the deal with downing PHP development?
How does the web look if everyone owned their own data?
The distraction's killer
#beginners #help #career