Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by moritz (Cardinal)
on May 13, 2013 at 11:48 UTC ( #1033279=note: print w/ replies, xml ) Need Help??


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

I think concrete means well-defined in this context.

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

Both Perl 6 and Moose allow that, yes.


Comment on Re: what means concrete in perlglossary/role - a concrete set of behaviors?
Re^2: what means concrete in perlglossary/role - a concrete set of behaviors?
by Corion (Pope) on May 13, 2013 at 11:53 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

        Yeah - so it doesn't even run counter to that.

        I took it to mean:

        • abstract : Interface without implementation
        • normal : Interface, implementation, and inheritance if you feel like it
        • concrete : Implementation in stone, no inheritance allowed.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2015-07-07 02:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (86 votes), past polls