Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
perl 6 broke years worth of my work, changed all the one sigil operators to bizarre hieroglyphics (~~ is string cat because it looks like .. strings?), and reeked of intellectual theorycraft instead of a pragmatic tool for programmers in the real world.

This is the same reaction I have pretty much every time I look at a sample of Perl6 code: a mixture of "WTF?", "Ugh!", and "that wasn't broke! Why did they change that?".

But if I've learned one thing in my life, it's that it's nearly always worth persevering with new things. Time and time again I recoil from some change; time and time again, a while later the reasons behind it suddenly make sense, and I find myself wondering how I ever lived without it.

A Perl6 example: the weird new for syntax. God, I can scarcely express how much I hated that the first time I saw it. Then I read the justification for it, and then I looked back over my code and saw how many places I'd had to use some tedious workaround to iterate over two arrays in parallel, and suddenly I found myself wondering if there was a Perl6::For module on CPAN...

I'm still far from converted -- God, I can scarcely express how much I hate Perl6's changes to sigil usage! -- but that little revelation has reminded me that the Perl6 design has not been based on changing stuff for the sake of it. I'm sure there's a good reason for the new sigil system, and when I have time to dip into Perl6 again I'm sure I'll find out what it is. (Though I hope it's something better than "to make the first ten minutes of Perl programming easier for dim-witted novices".)


In reply to Re^4: Why Change? by Porculus
in thread Why Change? by Starky

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (9)
As of 2024-04-18 13:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found