in reply to Re^3: Some thoughts on Moose Attributes
in thread Some thoughts on Moose Attributes

(stolen almost whole cloth from Python)
Really? I had no idea!
  • Comment on Re^4: Some thoughts on Moose Attributes

Replies are listed 'Best First'.
Re^5: Some thoughts on Moose Attributes
by chromatic (Archbishop) on May 02, 2011 at 18:09 UTC

    Apart from bless and references (the syntax of the object system) and, with modern versions of Python, a sort of metaclass system, they're effectively the same slot-based system. They even share some of the same flaws, such as the fact that importing functions into a namespace makes those functions accessible as methods.