Slashdot Mirror


Perl's Extreme Makeover

PurdueGraphicsMan writes "There's an article over at Yahoo! about the upcoming version of Perl (version 6) and some of the new features (RFC list). From the article: "Although Perl 5's expressions are the most sophisticated available and aspired to by other programming languages, "no one pretends for a moment that they're anything but hideously ugly," said Damian Conway, a core Perl developer and associate professor at Monash University in Australia.""

35 of 408 comments (clear)

  1. Whew, backasswards compat-with Perl 5 by microbob · · Score: 4, Funny

    Good! Looks like they kept Perl5 in mind and it will flip into a special mode to execute older Perl5 code.

    Nice!

    -mb

  2. Perl: The Beginning by Anonymous Coward · · Score: 5, Funny

    a ,There's been
    a 0 an explosion
    a /|\ at the ASCII
    a | factory!!!!
    a /|

    1. Re:Perl: The Beginning by mrogers · · Score: 5, Funny
      now, you can look at the code and have a pretty good idea what it's doing.

      With the greatest respect, I think you're missing the point of Perl. If you can understand your code, the Indian programmer who replaces you can understand it.

  3. Perl Haikus by Anonymous Coward · · Score: 5, Funny

    Okay, about 99% of the Perl Haikus will not apply anymore.

  4. quick question.... by thepyre · · Score: 5, Funny

    "no one pretends for a moment that they're anything but hideously ugly," Does he mean the lines of code or the programmers themselves?

    1. Re:quick question.... by gUmbi · · Score: 5, Funny

      Yes.

    2. Re:quick question.... by Anonymous Coward · · Score: 2, Funny
      It's fair to say perl is the deadbeat dad (as in got drunk fucked a bar slut and haven't seen her since) for python, php, and ruby.


      I don't know what other modern scripting languages you use.

    3. Re:quick question.... by mrogers · · Score: 3, Funny

      Journalist: Bob, you've gotta help me! My article about Perl 6 is due in an hour. WTF is Perl?
      Bob: Uh... it's an internet programming language. The webmaster's always talking about it.
      Journalist: Great - I'll put "critical in the initial construction of the internet". When was it invented?
      Bob: I dunno. It's pretty old though, it still uses ASCII.
      Journalist: Don't get technical with me, I'm on a deadline. So what do you know about the new version?
      Bob: I heard it's going to be a completely new language. The expressions are all going to be regular now, and the grammar's going to be regular.
      Journalist (typing): Hmm... I could put in something about Latin... Perl as the lingua franca of the Internet... nah, don't want to go over their heads. OK, gotta go. Thanks for your help, Bob.
      Bob: No problem man, just don't quote me.

  5. 18 months away... by Anonymous Coward · · Score: 1, Funny

    mmmm...thanks for sharing?

  6. What everyone knows about perl by HappyCitizen · · Score: 5, Funny



    Unreadable code,
    Why would anyone use it?
    Learn a better way.

    ugliness that grows
    into beauty inside of
    your favorite shell

    Arbitrarily
    Nested structures for data;
    Joy of birds in flight.

    As with the spring rain
    Perl is indispensable
    Unquestionable

    http://aspn.activestate.com/ASPN/Perl/Haiku/Abou tP erl

    --
    http://www.beyourowneviloverlord.tk
    http://www.frozenchickenthrowing.tk
    http://www.killercamel.tk
  7. Who would have thought! by Saeed+al-Sahaf · · Score: 5, Funny

    "hideously ugly" and "Perl" in the same paragraph? Who would have thought!

    --
    "Who are in control, they are not in control of anything - they don't even control themselves!" - Glen Beck
  8. Slashdotted. Here's the text by Bingo+Foo · · Score: 5, Funny

    Since the article is slashdotted, I have reprinted the text below:

    $_

    --
    taken! (by Davidleeroth) Thanks Bingo Foo!
    1. Re:Slashdotted. Here's the text by McCow · · Score: 5, Funny

      I can see what everyone is complaining about. Even jokes about Perl are hard to read.

    2. Re:Slashdotted. Here's the text by The+Ape+With+No+Name · · Score: 3, Funny

      use English; #DAMNIT!

      --
      Comparing it to Windows will be a moot point, since El Dorado is going to have a 40% larger code base than XP.
  9. A picture worth 1000 words by Nugget · · Score: 5, Funny
  10. Re:Hmmm by __past__ · · Score: 5, Funny
    it's possible to write OpenOffice macros in Perl (Though it probably takes some nasty hacked API to do it)
    A nasty hacked API like, say, Perl, you mean?
  11. Parrot embedded in a message thread by AubieTurtle · · Score: 2, Funny

    (perl[6] == "Great") || die;

  12. No, Python by Anonymous Coward · · Score: 1, Funny
    Ruby? I think you mean Python. Python has all of the power of Ruby with a much much larger developer base.

    And if you can't get past "the whitespace" thing in Python, then that's too bad; be an Ruby-using elitist.

    Now, without further ado:

    Python! -- Tastes Great!
    Ruby! -- Less Filling!
    Python! -- Tastes Great!
    Ruby! -- Less Filling!
    Python! -- Tastes Great!
    Ruby! -- Less Filling!
    Java! -- Job Security!
    ...

    1. Re:No, Python by perlchimp · · Score: 5, Funny

      Java! -- Job Security!

      I am the lead developer on a 200K line commercial bioinformatics program written in Perl. That's job security.

    2. Re:No, Python by The+Ape+With+No+Name · · Score: 3, Funny

      If that sucker can output it's own code and send and e-mail too then, AND ONLY THEN, is it a true perl program.

      --
      Comparing it to Windows will be a moot point, since El Dorado is going to have a 40% larger code base than XP.
  13. Ugly code by mr100percent · · Score: 4, Funny
    Neo: Do you always look at it heavily encrypted?
    Cypher: Oh that's not encryption... It's a new Perl script I'm working on...

    The Matrix Bastardization.

    1. Re:Ugly code by panck · · Score: 2, Funny

      Hmm, that suggests another programming language to join the ranks of brainfuck etc: the Matrix language.

      every line of your code contains 80 non-whitespace characters, most of which do nothing and are just there to look cool when streamed vertically in neon green against a black background. This way, when you scroll through your code, you're in the Matrxi!! Awesome!

      The only functional characters in the program are unicode glyphs that you can't find on a normal keyboard, everything else is treated as whitespace -- or rather, Matrix-space -- and actual whitespace characters don't exist, since in the future they have no need of them.

      --
      "What thou shalt not, I shalt did!" -Bart Simpson
  14. Re:Hmmm by Bingo+Foo · · Score: 2, Funny

    It's easy really: since the OO macro language is Turing complete, you just write a perl interpreter in OO macros.

    --
    taken! (by Davidleeroth) Thanks Bingo Foo!
  15. Re:Expressions .. by Goaway · · Score: 3, Funny

    So does a man standing next to, you holding a gun to your head, saying "INDENT THOSE BLOCKS!".

  16. Re:Ruby... by Anonymous Coward · · Score: 2, Funny

    Your post is like arguing that Duluth is New York's equal because they both have buildings.

  17. Perl brought this on itself by Artifakt · · Score: 2, Funny

    If Perl user's hadn't created the annual Obfuscated Perl contests, people wouldn't say such mean things about how the code looks ... Uh, no wait, isn't there one of those for C too? Well, if Perl had come along after the flaws in C++ were arround long enough to become really apparent, like Python ... Whaddya mean, it did? Uh, If Perl was distinguishable from line noise, people wouldn't say ugly, so there!

    --
    Who is John Cabal?
  18. QE4PG by Anonymous Coward · · Score: 2, Funny

    Extreme makeover, nah.

    Qeere Eye for the Perl Guy.

  19. Perl.... by silverhalide · · Score: 3, Funny

    ...is the duct tape of the internet.

  20. Perl: A write only program language by xtronics · · Score: 5, Funny

    It is better to startover than to try and modify a perl script.

  21. Quote-mania by OblongPlatypus · · Score: 3, Funny

    CmdrTaco wrote: "PurdueGraphicsMan writes "There's an article over at Yahoo! about the upcoming version of Perl (version 6) and some of the new features (RFC list). From the article: "Although Perl 5's expressions are the most sophisticated available and aspired to by other programming languages, "no one pretends for a moment that they're anything but hideously ugly," said Damian Conway, a core Perl developer and associate professor at Monash University in Australia."""

    Four levels of quotes; fun...

    --
    -- If no truths are spoken then no lies can hide --
  22. Re:Expressions .. by Bingo+Foo · · Score: 2, Funny
    Whereas I look at my Perl code for about an hour and a half thinking, "Ummmmmmm, what the fuck is this supposed to mean?

    Which is why you use comments like this:

    s/(.*?\s+)\(.*?\)/$1/g # PC LOAD LETTER
    --
    taken! (by Davidleeroth) Thanks Bingo Foo!
  23. Re:Anyone who intimately knows 5 by Tablizer · · Score: 2, Funny

    The simple fact is that you can write clean looking code... or ugly code. Perl doesn't care. It is your code... do it the way you want.... Perl's strength is that it let's a programmer program the way they want to. That is also it's weakness.

    There are languages that would be fun if ONLY YOU yourself do all the writing, but the potential for abuse and bizzar variation is so great that I don't want to make a paid specialty in them, fearing that someday I will inherit spehgetti-and-sand-in-a-blender hell.

    Thus, I divide languages into "paycheck" languages and "fun" (or "hobby") languages. Reminds me of an old army story told by who knows. The sarge overheard one guy calling his rifle a "gun", which is a no-no at this base. So he forced the soldier to run around the compound naked holding his rifle in his right hand and his dick in his left, and he had to repeat, "This is my rifle, and this is my gun. One is for shooting, and the other for fun".

  24. Attention: by Anonymous Coward · · Score: 1, Funny

    a <O I AM NOT
    a ( \ DEAD.
    a X I was just resting.
    a 8===D

  25. Debian by OverlordQ · · Score: 4, Funny

    *whew* Since I'm running Debian Stable I wont have to worry about learning Perl 6, till Perl 7 is ready to hit the shelves.

    --
    Your hair look like poop, Bob! - Wanker.
  26. Re:Anyone who intimately knows 5 by Ritontor · · Score: 1, Funny

    s/\salot\s/a\slot/gi;

    --
    Perhaps the answer to the problem of teenagers dropping bricks from motorway and railway bridges is to sue Tetris.