Archive for December, 2008

The beauty of private implementation (Pimpls)

In C++, when anything in a header file changes, all code that includes that header either directly or indirectly needs to be recompiled. Therefore, sometimes even a very trivial change might need to compile a lot of code. Also, when we usually declare both the public and private interfaces in the same c++ header file. Basically, the class declaration lets you peek at its private parts, which should actually be of no concern to the user of the class. Pimpl basically, decouples the interface of a class from its implementation (Bridge Pattern?). Any compile time dependencies are also eliminated. Lets see how.

(more…)

Advertisements

December 20, 2008 at 12:06 pm 1 comment

5 reasons you should become a freelancer

Its been over 4 months since I quit my job and became a freelance software developer. I am enjoying every moment of my freedom and have also been able give some quality time to this blog. When I look back and think about reasons why I quit my job and what motivated me to become a freelancer, a lot of points come to my mind. But here are the top reasons that I think you should become a freelancer.

(more…)

December 5, 2008 at 11:00 am 4 comments


TinyTweets

  • RT @sriramk: Legit question on iPhone X - how do you do the bedside no-look fumble/TouchId/turn off alarm clock bit? 1 week ago
  • RT @venkat_s: While everyone is so excited about eclipse, please remember there are other fine IDEs and text editors. 1 month ago
  • RT @dcurtis: “People ask me what my definition of success is, and for me it's where you're truly okay with losing everything you have." —… 1 month ago

Feeds