in reply to Re: Re: Will role-based programming be part of the standard Perl 6 distribution?
in thread Will role-based programming be part of the standard Perl 6 distribution?

Did you read the Traits paper?
I did and even though they mentioned prototype-based programming as related work, they did not mention any shortcomings of it or how traits (Perl roles) improves on it.

PApp::SQL and CGI::Application rock the house

  • Comment on Re: Re: Re: Will role-based programming be part of the standard Perl 6 distribution?

Replies are listed 'Best First'.
Re: Re: Re: Re: Will role-based programming be part of the standard Perl 6 distribution?
by simonm (Vicar) on Dec 22, 2003 at 23:35 UTC
    ... the Traits paper... did not mention ... how traits (Perl roles) improves on ... prototype-based programming. (paraphrased)

    Note that the approach described by the Traits paper is a fairly general concept, and Perl 6 will not be blindly following their recipe.

    I would expect that Perl 6 will support a delegation scheme that looks like a prototype-based system. The problem/goal is to enable this approach and others, so that you can combine a logging aspect and an exception-handling role with a access-control proxy, or whatever.