ROUND 1: Shopping Vs. C++

While reviewing last semester’s notes I came across what distinguishes C++ from other languages.  C++ is a hybrid language, how cool does that sound? WTF does that even mean? I read on and it all started to make sense – like I was suddenly at the Las Vegas airport – bells and lights I swear. I finally get the big picture with this C++ stuff. Here is my “Basically” explanation. Basically, not only can we break our problem into activities, but we can also break it into objects.  Get out of here, this C++ is just like shopping!  And what is shopping? An activity.  Once you’re at the mall, then you can purchase stuff like objects.  Now this part was a little tricky for my girlie brain to wrap around but if I’m not mistaken – everything in that mall would be an object. Stores, fast food joints, items to purchase, even the mall itself, all of them are objects. The objects can contain objects – I guess a clothing item would inherit the store brand – but both the store and the item are objects.  This is giving me a totally new perspective and affection for C++. I love shopping, so if C++ is anything like it then maybe I will love C++ too. I’ll keep you posted!

Resources: Introduction to C++ for C Programmers (pg 2)