Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^4: Perl 6, Object Orientation and Melting Brains

by willyyam (Priest)
on Mar 29, 2005 at 13:17 UTC ( #443122=note: print w/replies, xml ) Need Help??


in reply to Re^3: Perl 6, Object Orientation and Melting Brains
in thread Perl 6, Object Orientation and Melting Brains

Wow, thanks BrentDax, that's a very thorough answer. I'm going to have to look at your code (and look up what some of the syntax means) a bit more, but the reason behind the division of the code this way makes sense, which is a good sign. The only other thing I notice is that if I'm going to adopt Perl 6's OO syntax I'm going to spend a lot of time on the Shift key :-)
  • Comment on Re^4: Perl 6, Object Orientation and Melting Brains

Replies are listed 'Best First'.
Re^5: Perl 6, Object Orientation and Melting Brains
by Mugatu (Monk) on Mar 29, 2005 at 17:35 UTC
    Just so you know, BrentDax is explaining polymorphism. That is one aspect of OO programming that many people (and it seems BrentDax is one of those many) think is a killer feature. Personally, while I think polymorphism is very powerful and useful, it is the bundling of data and code (known as encapsulation) that I find more compelling. If you re-read my earlier response in that light, you will notice that's what I'm talking about. Hopefully between these two posts you will begin to understand the fundamentals of OO. :-)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2019-12-08 03:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (162 votes). Check out past polls.

    Notices?