Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Inside-Out Object Model

by Anonymous Monk
on Nov 06, 2006 at 08:37 UTC ( [id://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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://582396]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2024-04-23 12:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found