02 January 2011
Inside every Guy, there’s a little person. Person has stuff but could also have hopes and dreams.
So, it makes sense to call person a class–Person.
This restores our ability to tell Bob where to keep his stuff. And Netbeans finally understands that
Bob is the culmination of Person and Guy:
However, the Person class is a mess. I think it could use the same sort of overhaul that Guy got.
When separating Person’s properties and methods, we don’t have to worry about encapsulation since
Person will only exist inside a Guy. Stay tuned for the final installment!