Perl 6 is expected to have a backwards-compatibility mode, yes, but that's not really the point for me. I'm not worried about my Perl 5 code becoming obsolete; I assume I'll be able to run it in Perl 5 just fine for many years to come.

It's taken me years to learn to write "good" Perl 5: using Perlish idioms like die unless(something) and for(0..9){ instead of for($i=0;$i<10;$i++){, not cluttering things up with unnecessary parentheses, writing clearer regexes by using better delimiters and /x, using the power of map, etc. If I make the move to Perl 6, it'll be because I want to take similar advantage of its new powerful features; not so I can continue to write Perl 5 code and let it translate.

Look what happens here when people post code that appears to have been cut and pasted out of a 1998 tutorial. Even when it's technically correct and works, they're encouraged to modernize it with strict, the 3-arg open, etc. If I start using Perl 6, I don't want to be like that, writing code that technically works but only because the language designers have taken mercy on me. I'll want to write good Perl 6 code, which appears to mean I'll need to learn quite a lot of new stuff -- and maybe unlearn some things, since it appears $array[0] will be @array[0], for instance.

Again, that may not be a bad thing, and may be very much worth it; but it makes it more of an open question than just "upgrading" to a new version of a language.

Aaron B.
My Woefully Neglected Blog, where I occasionally mention Perl.


In reply to Re^11: Moose - my new religion by aaron_baugher
in thread Moose - my new religion by jdrago999

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.