http://www.perlmonks.org?node_id=443122


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. :-)