Slashdot Mirror


Damian Conway Publishes Exegesis 5

prostoalex writes "Come gather round Mongers, whatever you code, And admit that your forehead's about to explode, 'Cos Perl patterns induce complete brain overload, If there's source code you should be maintainin', Then you better start learnin' Perl 6 patterns soon, For the regexes, they are a-changin'. This remix of Bob Dylan serves as an epigraph to Exegesis 5."

5 of 125 comments (clear)

  1. Re:Monty Python and the Holy Grail Sinking Castle by IpalindromeI · · Score: 4, Insightful

    It does kind of feel that way. Since all previous versions have worried much about maintaining backward compatibility, a lot of new stuff has been added without removing the old stuff (merely deprecating it). Because of the "history" behind things. With Perl6, though, they're ripping everything apart and rebuilding it from scratch, using the experience and wisdom that have been gained over the years. What was good and we'd like to keep? What was bad and should be done away with? What was a nice concept but implemented poorly? These are the questions the designers are asking themselves. I think something people are dreading is that since this is a total rewrite, looking more towards Doing It Right than making sure it still works like it used to, there will be much to relearn. But personally I'm glad they decided to do it this way, because it means they can do exciting things, and get rid of annoying things, and not have to worry about the compatibility. In the end, I think it will turn out to be a much cleaner, more consistent, more powerful, and even friendlier Perl. It will be like a breath of fresh air, and each Apocalypse gives more to be excited about.

    --

    --
    Promoting critical thinking since 1994.
  2. Re:Ugh by Dom2 · · Score: 3, Insightful

    If you don't like it, you don't have to port it.

    There are still people using emacs 18 to edit their files because it's small and it works.

    There are still people running Windows 98 to run their games because it works.

    Nobody's forcing you to move to Perl 6. That's the beauty of Open Source. Perl 5 is going to be developed for a long time to come. Don't give up hope.

    -Dom

  3. Beautiful! by soboroff · · Score: 3, Insightful

    I only had time to skim the article, and anyway it would take anyone a while to absorb all that code. Here's the short summary:

    Regex's in Perl have accumulated too much cruft to be called regular expressions anymore. So now they're full grammers.

    That's right. Now you can pattern match with a very readable grammer syntax that is easily decorated with Perl code to do parsing. YACC for Perl. You can find packages for this on CPAN, but this is integrated with the language.

    No whining about the bad old days of Perl regex syntax for me... now I'm actually excited by the prospect of needing to buy a new llama book.

  4. Re:Monty Python and the Holy Grail Sinking Castle by mshomphe · · Score: 3, Insightful
    Perl is like the castle built by the king in Monty Python and the Holy Grail, that fell over and sank into the swamp. So he built another one. And that fell over and sank into the swamp too. And then he built another and another, and they all fell over and sank into the swamp. Then finally, he built a really big one, and that burned down, fell over, and sank into the swamp.

    Don't forget, the last one stayed up. And it was the strongest castle in all of Britian.
    --
    She sat at the window watching the evening invade the avenue.
  5. Let me get this straight by Camel+Pilot · · Score: 4, Insightful

    You are upset that Perl 6 is changing significantly enough that you feel it could be classified as a different language. And you don't want to learn a new language so to solve your dilemma you are going to learn a different language? :)