Idea: Unnecessary code comment generator

I remember when I was trying out XNA back when it was launched in 2007. The first line of code in the sample was “graphics.Initialize()”. Wonder what it does? MSDN said: “Initializes graphics”. Wow… Thank you Captain Obvious. Today at work I saw “loadXML(); // Loads the XML”. Couldn’t decide if I should laugh or cry.

I prefer code that’s readable and documents itself in a way. That’s why it would be funny to write a little app/script that adds completely unnecessary comments to your code. Like the classic “i++; // increments i”. It could be used to play a prank on co-workers that are coming back from vacation.

The sad part is that this already exists. And it’s a serious product. GhostDoc. I have to start selling my funny ideas as serious products to unknowing wannabe managers…

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s