|
|
| P is for Practical | |
| PerlMonks |
Re5: Encapsulation through stringification - a variation on flyweight objectsby dragonchild (Archbishop) |
| on Apr 02, 2003 at 16:02 UTC ( #247515=note: print w/ replies, xml ) | Need Help?? |
|
Ok. I'm missing something when it comes to encapsulation. Why on earth would you want to prevent Bar from accessing attributes it inherited from Foo? That's always been something I didn't understand in C++ - why private attributes were not inherited ... ------ Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement. Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.
In Section
Meditations
|
|
||||||||||||||||||||||