Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Inside-Out Object Model

by Anonymous Monk
on Nov 06, 2006 at 08:37 UTC ( #582396=note: print w/replies, xml ) Need Help??

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".

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://582396]
and the sunlight beams...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2018-01-17 06:08 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (196 votes). Check out past polls.