http://qs321.pair.com?node_id=1033276

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

what means concrete in perlglossary/role - a concrete set of behaviors?
role A name for a concrete set of behaviors. A role is a way to add behavior to a class without inheritance.

Isn't it also a way to specify an interface only?

Replies are listed 'Best First'.
Re: what means concrete in perlglossary/role - a concrete set of behaviors?
by moritz (Cardinal) on May 13, 2013 at 11:48 UTC

      Maybe concrete is also meant as the opposite of abstract, which would somewhat run counter to the idea of "interface without implementation". But I don't follow Perl6 and the various incarnations of the M* modules and theories behind them.

        Am I missing something ... the glossary says "interface without inheritance." Not sure where you're getting "interface without implementation."

        -derby