Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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

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

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?
[marto]: good morning all, TCIF
[robby_dobby]: marto: Good morning, I usually spend my Fridays here cursing the bloody weather!
[marto]: where are you based robby_dobby?
[robby_dobby]: marto: Oh, I see you're from an even colder north :-)

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2017-12-15 10:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (430 votes). Check out past polls.

    Notices?