I've seen some questions above about where there is a "traits for dummies" guide and frustration about the 100-page formal introduction to traits.

I think there may be some confusion here, so in the interest of sanity here is Traits: The Formal Model which is the closest thing to "traits for dummies" that I have been able to find. Just 15 pages, and a damn good read.

I believe that the "100 pager" is a companion document written by the same guys, buttressing the arguments they make in the shorter intro. So if you're looking for traits for dummies, I would say start there. My impression is that the perl6 apocalypse stuff about traits assumes you have already been introduced to the material here. (If this has already been posted, sorry.)

As to the poll, I haven't used traits because I am too busy putting out other fires in my job, life and goals, but I think they are cool and would like to someday. And learning about them was productive because it led me to a better understanding of what could commonly go wrong in more vanilla type object inheritance models.


In reply to Re: Informal Poll: why aren't you using traits? (Traits for Dummies) by tphyahoo
in thread Informal Poll: why aren't you using traits? by Ovid

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.