Flexible thinking

Sometimes people wonder why there is Struct and Class in C++ language. They have identical functions except that all the variables defined in struct are public by default and those defined in C++ are private by default. The need for both of these to coexist seems redundant. This is where one needs to go the history of c++. The struct was very much a part of C language and to evolve in to a much richer form, Class was an invention so that it would give a choice / flexibility for people who wanted to stick to struct or change to Class.

Quote for the day

Mistakes can be like ice . If we resist them, we may keep on slipping in to a posture of defeat. If we include mistakes in our definition of performance, we are likely to glide through them and appreciate the beauty of the longer run - From “The art of possibility”

Best Regex stuff

One of the best Regex stuff I have come across. A short and well explained tutorial on Regex. Here is the link : Learn How to Use Regular Expressions

Just for Fun : Book Summary

Just for Fun is an autobiography of Linus torvalds, the creator of Linux, a successful operating system. The reason for the popularity of the OS has more to do with the way in which it was created, OPEN SOURCE.A new term was coined, thanks to Linux and subsequently influenced the IT software industry like never before. This book is written in a remarkably witty manner at the same time explaining the business philosophy behind open source.

Smart Thinker

You can do something the brute force way, the stupid, grind-the-problem-down-until-its-not-a-problem-anymore way ,or you can find the right approach and suddenly the problem just goes away. You look at the problem the other way and you have this epiphany: It was only a problem because you were looking at it in a wrong way. There is a story of Carl Friedrich Gauss, the great mathematician which illustrates the above point. Gauss was in his school and his teacher was bored, so to keep the students preoccupied he instructed them to add up all the numbers between 1 to 100 .