Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

what means concrete in perlglossary/role - a concrete set of behaviors?

by Anonymous Monk
on May 13, 2013 at 11:06 UTC ( #1033276=perlquestion: print w/ replies, xml ) Need Help??
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?

Comment on what means concrete in perlglossary/role - a concrete set of behaviors?
Download Code
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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2014-08-21 19:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (143 votes), past polls