Favorite Things 2.0

By Shamus Posted Sunday Apr 30, 2006

Filed under: Programming 9 comments

Below is a funny song about coding which is sung to the tune of “Favorite Things”. It’s been around for ages, although I always thought the original version was a bit too short and unfocused. So, I’ve re-written it, because I’m a dork, and I’m posting it because I have nothing worthwhile to say today.


Pointers to pointers to printf()-like functions,
Unary minus and nested conjunctions,
Integers, booleans, characters, strings,
These are a few of my favorite things!

Encapsuled functions with routines embeded.
Parallel process to run multi-threaded.
Routines that lighten the processor load.
This is just some of my favorite code!


/* When the bug bites! When the core dumps!
when the code is bad.
I simply remember my favorite things,
and then I don't feel so mad. */

API reference and good indentation.
Pointers to strings that have null-termination.
Callbacks to functions of referencing strings.
These are a few of my favorite things.

malloc() and calloc() and database files.
Error-free coding that always compiles.
Arrays of structures and quick file sort.
These are my favorite things to import!


/* When the link fails! When the code bombs!
When it won't execute.
I simply compile my favorite things
and then I can go Re-boot! */

 


From The Archives:
 

9 thoughts on “Favorite Things 2.0

  1. Mark says:

    Hah! That’s brilliant!

  2. now, if you could write it so it actually compiled… :)

  3. Shamus says:

    Get it to compile! Wow. If I could do that I’d be a shoe-in at the The International Obfuscated C Code Contest . It’s an incomprehensible program AND a catchy song!

  4. Katrani Merack says:

    hah. the weird hting is, normally I can’t fit new lyrics to an old song. This one I could. It’s scary.

  5. Valaqil says:

    Ha! I love this.

  6. squirrelworks says:

    dude! amazing!

  7. Gregory Bogosian says:

    Now all we need is someone to sing this. I immediately thought of JoCo for that.

  8. Ryan says:

    Fucking. Epic. Dude.
    Awesome, I’m bookmarking this.

  9. Pingback: Programmer jokes

Thanks for joining the discussion. Be nice, don't post angry, and enjoy yourself. This is supposed to be fun. Your email address will not be published. Required fields are marked*

You can enclose spoilers in <strike> tags like so:
<strike>Darth Vader is Luke's father!</strike>

You can make things italics like this:
Can you imagine having Darth Vader as your <i>father</i>?

You can make things bold like this:
I'm <b>very</b> glad Darth Vader isn't my father.

You can make links like this:
I'm reading about <a href="http://en.wikipedia.org/wiki/Darth_Vader">Darth Vader</a> on Wikipedia!

You can quote someone like this:
Darth Vader said <blockquote>Luke, I am your father.</blockquote>

Leave a Reply to Ryan Cancel reply

Your email address will not be published.