Code Reviews
For those who don’t know, code reviews, as the name suggests, is going over the code you have written before you incorporate it into your product. Oh - I should have mentioned - you don’t review your own code - you get someone to review it for you. The primary purpose is to find bugs.
Though many folks look at code reviews as just another process overhead (we all write perfect code, don’t we ;), I find code reviews very intellectually satisfying.
So, when someone reviews your code, you roughly follow the following steps:
1. Ask someone to review your code
2. Get review comments
3. If no comments, either you wrote great code, or (greater chances) the reviewer did not review it very thoroughly. Consider going to step 1. If really sure, Goto step 6.
4. Discuss comments, make changes as necessary
5. Goto step 1.
6. Done!
If you are a new developer, or writing a big chunk of code, chances are that you’ll loop through this multiple times before your reviewer is completely satisfied.
As a new developer, at times people tend to take review comments personally - it’s natural. It is important to understand that code review comments are to be taken personally only if you get the same comment more than once. Code review comments are one of the best ways you can refine your coding skills. If you admire someone’s coding skills, ask them to review your code. Don’t be overly defensive - as I mentioned before - code review comments are not personal. Learn from them - and be a better developer! If you’re lucky, your reviewer will also look at the class structure instead of just the individual statements. You’ll improve upon you design skills too. And of course, you’ll introduce fewer bugs into your product.
On the other side, doing code reviews for someone is also an enriching exercise. Things when performing a code review -
1. Find bugs. Make it a fun exercise. You’ll find a bug if you look hard enough. It just has to be there :)
2. Learn from the patterns your fellow developers are using - especially true when reviewing code of experienced developers.
3. Understand components that you don’t work with on a day to day basis.
Personally, I find code reviews fun and exciting. And luckily, I have a great set of folks who do great code reviews, and give out great code to review.
Working with Microsoft
I was talking to my little niece today, and asked her how was she spending her vacations.
Little Niece: “I’m taking a computer basics course and also Bharatnatyam classes”.
Obviously not interested in Bharatnatyam, I asked her what is it that she was learning in the computer class.
Little Niece: “Windows, Paint and all”.
Aha! Windows, Paint and all! Thats my Microsoft!
Me: “You know, I work with Microsoft”
Little Niece: “Hmmm.. Microsoft? So what? Even I work with Microsoft Word!”
That shut me up.
The Tag Game
Thanks to Alagu for tagging me. I was planning to sleep, then I discovered that I’ve been tagged - and so here I am.. writing this post :)
Last movie seen in a theatre:
Iron Man - Found it childish. Stupid Sci Fi has never excited me.
What book are you reading?
Theoritically - Freakonomics, The Namesake, Oracle E-Business Suite Administration
Practically - None.
Favourite board game:
Monopoly
Favourite magazine:
Reader’s Digest
Favourite smells:
Smell of rain, Green Apples, pretty wet hair
Favourite sound:
The sound doorbell makes when I reach home after months.
Worst feeling in the world:
Being stuck - and hopelessly.
What is the first thing you think of when you wake up?
I’m late.
Favourite fast food place:
Mc Donald’s
Future child’s name:
Khushi
Finish this statement, “If I had a lot of money I’d…”
Become a professional backpacker.
Do you drive fast?
Rarely.
Do you sleep with a stuffed animal?
No. I’m one.
Storms - Cool or Scary?
Cool
Do you eat the stems on broccoli?
Don’t know.
If you could dye your hair any colour, what would be your choice?
Electric Blue.
Name all the different cities/towns you have lived in:
Lucknow, Aligarh, Shahjahanpur, Ghaziabad, Tiruchirapalli, Hyderabad
Favourite sports to watch:
None.
One nice thing about the person who sent this to you:
I find him respectable and cool.
What’s under your bed?
Nothing.
Would you like to be born as yourself again?
Yes, Yes!
Morning person or night owl?
Both - I work late nights and mornings and afternoons and evenings and … ;)
Over easy or sunny side up?
???
Favourite place to relax:
A lap.
Favourite ice cream flavour:
Vanilla
You pass this tag to –
Hari, Geetanjali, Kshitija, Tushar(Ma), Hepsiba
Of all the people you tagged this to, who’s most likely to respond first?
Dunno.
Google April Fools Day 2008 Pranks and Jokes
Here are the ones I found till now:
http://www.google.com.au/intl/en/gday/index.html
http://mail.google.com/mail/help/customtime/index.html
The other two are in Korean and Japanese and so not posting them here.
Will update if I find any more :)
Happy April fool’s day everyone! Its your day! ;)
Update: Here is the BIG one!! The Virgle project!
http://www.google.com/virgle/index.html
Update #2 : Orkut turned into yogurt:
A childhood memory - episode 2
Let me share another childhood memory with you - a funny one this time.
—
When I was a kid, before my voice cracked, I had a very thin voice. In simpler terms, I had a voice that sounded very much like a girl’s. I was teased a lot, and I used to wait for the day when my voice would crack.
People used to think I was my dad’s daughter if I happened to pick up the phone - they just assumed it hearing my voice. It was embarrassing. Imagine me explaining - “Uncle, I’m not his daughter. I’m his son.” Sometimes I used to correct people, most of the times I did not - just used to give the phone to my dad and wait for the day when my voice would crack.
Once it got ugly. Some guy started started blank calling our home phone thinking that there was a girl in the house! This when I am the only child of my parents and I was in class IV and I was a guy.
I used to tell that guy ‘Dude, I’m not a girl. I’m a guy. You’re wasting your time and money.’ But that dude never believed me. I used to laugh my head off when that unknown guy used to call and go like ‘Madam, please talk to me. Please give me a pappi (Hindi slang for a kiss)’.
Finally, after years of wait, my voice cracked and I started sounding like a man. Thank god! :)
Is there a bubble?
So many of us looking to make a quick buck by starting websites :) See this.
Thanks Murali for sharing the link :)
From college to corporate
Here is a list of things that change as you move out of college (a residential campus) to a full fledged job :
1. Money : Suddenly your financial condition changes. Your previous total monthly expenditure becomes you typical weekend expenditure. You can buy many things you want to without thinking too much. You get a credit card. You realize that you are not making enough money.
2. Phone : Your phone changes from a 1100 to N series. The prepaid connection is the thing of the past, and you get a post-paid corporate connection.
3. Phone Bills : Don’t ask.
4. Room : Finally a bathroom all for yourself! (Yes!). Though not very furnished initially, there are NO course books to be seen, the flooring is marble, and the walls don’t speak the history for who all have lived in the room for the last 17 years. Oh yes! There are cupboards where you can actually hang clothes AND lock them too!
5. Transport : From a Hercules Thriller, you upgrade to a Bajaj Pulsar. Or the company cab, as the case may be.
6. Washing : No more washing clothes yourself! You get a washing machine. You actually wear clean clothes everyday.
7. Trips to home : Become exceedingly rare. Once in 6 months is the average.
8. Holidays : Become the most precious thing. People would give blood to get a holiday. You get about 12 every year excluding weekends. Add 20 Casual leaves to that. Thats it. No more.
9. Travel : No more Sleeper class, Air Deccan and Indigo become your best friends. Even when you want to travel by train and save some money, you cant coz you cant afford to take that extra day off.
10. Bunks : If your office has swiping system, forget it. If it doesn’t, you feel so guilty if you bunk that you don’t.
11. Cleaning : A ‘bai’ comes to clean up your room and kitchen. But! She won’t clean the bathrooms! So the bathrooms and toilets (that you’re supposed to clean yourself now) resemble the hostel bathrooms.
12. Food : One pain in the ass! Breakfast and lunch @ office usually. Dinner outside. You get bored with outside food (and hate to pay so much for food, everyday!). Weekends are terrible, when you’re left to scavenge for your own 3 meals. You miss the comfort of the mess at times.
13. Treatment : For a change, people treat you nicely. The guards and support staff instead of telling you to ‘Poda’ call you ‘Sir’. Sweet sounding females call you everyday and offer you miscellaneous financial accessories ranging from credit cards, personal loans to health insurance. You tell them that you’re not interested and bang the phone. In their disappointed faces.
14. Internet : You download a 1 GB movie in an hour in office. You use office laptop to watch movies at home. You get Airtel broadband and a netgear wifi router at home.
15. Tax : You start worrying about tax. As March comes closer, you get well aquanted with the provisions of section 80c, 80cc and 80ccc of the Indian constitution. You buy insurance policies and pray to God to call you soon so that at least you won’t have to pay tax.
16. Immunity : Your immunity goes down suddenly. A glass of water outside, if not branded Kinley or Aquafina, gives you throat infection. So does any chicken curry priced below Rs 135.
I’m sure I’ve missed many, help me increase this list :)
There are some things money can’t buy…
The ad goes like this: “There are some things money can’t buy. For everything else … ”
Wait a minute! Those some-things-money-cant-buy are the only things I crave for!




