Skip to content

Magic Buffer

January 11, 2012

Today I was digging into some of the deepest realms of my code base, the code there has not been touched for ages. It is a 3000 code line incomprehensible monster back from “11.8.1999” with methods it should not have, full of #defines, pointers and other crap.

While I was reading it to understand how some of the things work, I particularly struggled with one code block. Skimmed through it few times and still couldn’t get it. So I’ve started reading it more carefully, when suddenly I’ve realized how main variable is named:

char magicbuf[10];

A magic buffer, sweet. I just love magic in software development!

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: