in reply to Inside-Out Object Model
What are the different ways you can use an Inside-Out Object Model in Perl 6?
Who cares? None of the problems with traditional, hash based, objects in Perl5 that Inside-Out Objects solve exist in Perl6. So, there's no need for Inside-Out Objects in Perl6.
In fact, the big problem with objects in Perl5 is that the objects in Perl5 are very minimal - there's no build-in support for object attributes. And that's where the problems come from. Perl6 has build-in support for object attributes, and hence, Inside-Out Objects aren't necessary.
Of course, if it's indeed true that all perl5 programs work with Perl6, the answer is "exactly the same way as you do in perl5".
|
|---|