Archive for December, 2008
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.
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.