Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Open to debate on mixins and traits.

by adrianh (Chancellor)
on Jun 02, 2004 at 23:08 UTC ( #359813=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Open to debate on mixins and traits.
in thread Open to debate on mixins and traits.

But that just serves to emphasis the (my?) confusion both with the naming and the P6 differentiation, which still leave me perplexed.

It's perfectly simple.

We have Perl 6 traits, which are different from Self traits, both of which are different from Xerox Star traits, all three of which are different from the Traits described in traits paper - which Perl 6 will call roles. Except roles have state with the traits paper Traits don't.

Traits (that is Perl 6 traits, not the trait paper traits, Self traits or Xerox Star traits) are roles applied to declared items like classes and containers. Unless they are applied at runtime in which case they are called properties.

Confused? You won't be after the next episode of... Soap!

;-) * 0.5

(Okay, I admit it, I've still not found the time to more than skim A12 so I may have got some of the above wrong, and there is probably a nice simple structure in there that's not managed to find its way into my head yet)


Comment on Re^3: Open to debate on mixins and traits.
Re^4: Open to debate on mixins and traits.
by BrowserUk (Pope) on Jun 02, 2004 at 23:50 UTC

    Confused? If you aren't, you are (LW|TheDamian|deluded).

    If it wasn't so funny it would be serious:)

    Re:Soap! I'd love to see a modern remake of that. Just think what they could do with special effects and a descent budget--maybe as a movie, but then it wouldn't be a soap, unless it was a movie about a soap?)


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail
Re^4: Open to debate on mixins and traits.
by Ven'Tatsu (Deacon) on Jun 03, 2004 at 13:49 UTC
    Confused? You won't be after the next episode of... Soap!
    But I always felt more confused after the next episode of Soap, and I'm getting close to the same point with each next episode of /[AES]\d+/.

    I got most of A12, but every so often my eyes would just go out of focus and a minute later, 2 paragraphs down I'd wonder what I had just read.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (12)
As of 2014-09-19 14:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (140 votes), past polls