Dumb Ways to Code

Dumb Ways to Code

By Geoff Perlman

Sung to the tune of “Dumb Ways to Die” by Tangerine Kitty

Use an object that's out of scope

Don't escape your SQL quotes

Ship without a beta test

Think Google Translate to localize is best

Dumb ways to code,

So many dumb ways to code,

Dumb ways to code,

So many dumb ways to code

Blame others for your bugs

Have a client that's a known thug

Send private stuff without SSL

Use code that you don't understand very well

Dumb ways to code,

So many dumb ways to code,

Dumb ways to code,

So many dumb ways to code

Get killed by feature creep

Promise your code will be bug-free

Forget that arrays are zero-based

Write the same code again in yet another place

Dumb ways to code,

So many dumb ways to code,

Dumb ways to code,

So many dumb ways to code

Give your variables crazy names

Use text files as a database

Do a demo with an alpha build

Use an object before you checked if it was nil

Dumb ways to code,

So many dumb ways to code,

Dumb ways to code,

So many dumb ways to code

Assume the Internet will alway be there

Lose the power cable to your MacBook Air

Over-promise the client then under-deliver

Depend on skills that are not in your quiver

These sorts of things might not make you numb

But I think you'll agree that these certainly are some

Dumb ways to code,

So many dumb ways to code,

Dumb ways to code,

So many dumb ways to code