|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: Encapsulation through stringification - a variation on flyweight objectsby Abigail-II (Bishop) |
| on Apr 02, 2003 at 15:45 UTC ( #247512=note: print w/ replies, xml ) | Need Help?? |
|
Both Bar and Foo happen to use the same key, because there's no encapsulation. Perl na(t)ive OO model stinks, because you've to work hard to get encapsulation. (Note: I'm not saying I want private stuff, I just want encapsulation of the implementation). I do not know a common language whose OO model sucks more than Perls. Abigail
In Section
Meditations
|
|
||||||||||||||||||||||||