Let’s learn to Invest

It’s 30th of July. And I’m repenting why I was so lazy throughout 2013-14 and didn’t care to make good investments. And as you can imagine, it takes a fair bit of brain-muscle to find the right investment, and a stronger willpower to save money and ‘invest’ in that right investment.

Why I am writing all this here, you ask!
Ah huh!

You haven’t noticed the dots yet.

So I’m also repenting that I now need to rewrite a code that works perfectly alright, makes all the right noises, and generates the numbers that it’s supposed to.

But here’s the ‘Kick’. {No it’s not worth a 100 crores either}

If I pass it on to you today, I’m sure you will spend 5 days understanding it, and then spend the weekend cursing me over a bottle of water. And you will come back on Monday and the code will not make any sense whatsoever anyway.

Here! Look! That’s the second dot for you.

2 dots are good enough to draw a straight line, and hence, draw conclusions. But let me give you a third dot to make life a little bit easier.

Next month, there’s going to be an inspection, the type we call ‘Quality & Compliance’. They are going to be reviewing everything. And when I say everything, I mean everything.

They will look at your desk [Is there confidential stuff lying around?]
They will look below your keyboard [You are writing all your passwords on a sticky and sticking it under the keyboard aren’t you?]
They will look into your system’s history [No skeletons in that closet I hope!]
They will look at your documentation [dot the i’s and cross the t’s my lad]
And they will look at your code, its input, its output, its log, and anything else they can find.

Based on the above scenarios, I think you should clean up the code a bit. Add a few comments to describe the various sections in the code. Oh wait! Sections! Hmm! I didn’t exactly write the code in sections. There was a lot of trial and error and copy and paste. Maybe you should start there. Organize the code into sections first. What? You can’t pull them apart? Why? Oh, they are written that way you say? Fine by me, the audit is all yours then. Oh don’t be scared boy. Maybe!!!!! Yes, right, that’s a good Idea. Spend the weekend here in office, and write the whole thing from scratch. Make sure you build it in sections, demarcate them by writing comments, add defensive codes, handle exceptions, and while you are at it, teach it to make a good filter coffee as well.

There, I said it. There’s your third dot.

Do I make any sense now?

Not yet?

Go wash your face, get some coffee, and come back to class by 11.15.
We will then go over how you should think, plan and then write programs. Got it?
“Invest time upfront, rather than jumping off the cliff and hoping you grow wings”
Justmade Itup

Investments are subject to risks. Please store the pig in a safe place after investing.


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 )

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