Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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?

Replies are listed 'Best First'.
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?
[GotToBTru]: current job found me
Discipulus is so lucky to have a decent job, with old, favorable contract, done before the ultralibersm arrived in Eataly
[Lady_Aleena]: Has anyone here ever use pcregrep? I can't seem to get the --include regex right. --include=*.p[lm] works in grep but not pcregrep.
[erix]: to lift your spirits, here is some more happy Randy news...
[Lady_Aleena]: The reason I would like to use pcregrep is because it can do multiline searches supposedly.
[perldigious]: What are your criteria for looking Tanktalus? What things must a job have for you to consider it? And where are you in your career? Start, middle, or end?
[erix]: are there any regex-engines that do not do multiline?
[Lady_Aleena]: erix, grep doesn't.
[Lady_Aleena]: Linux grep that is...
[Lady_Aleena]: $ grep --include=*.p[lm] -Ern 'get_(array|hash| data)' does not do multiline search.

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2017-05-23 19:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?