Slashdot Mirror


Perl 6 Gets Beta Compiler, Modules and an Advent Calendar (thenewstack.io)

An anonymous reader writes: A "useful and usable distribution of Perl 6" was released Saturday, a new beta version of the Rakudo compiler to support the coming production release this Christmas. And there's already 467 Perl 6 modules on the new archive at proto.perl6.org (though Perl 6 will also be able to load modules written in other languages). "Perl has a huge community of avid users that continues to thrive in spite of detractors," says one developer, pointing to new applications for big data, in a new article reporting that over one million people have downloaded ActivePerl's own Perl distribution just in 2015. And this week also saw the release of two new "Advent Calendars" of programming tips, one for Perl 5 and one for Perl 6.

131 comments

  1. Calling out Perl detractors in a release? by JoeyRox · · Score: 2, Insightful

    That's always a sign of a healthy and thriving development language.

    1. Re:Calling out Perl detractors in a release? by the_Bionic_lemming · · Score: 2

      I recently got hired (july) and found out I was to learn perl to maintain their current infrastructure.

      I'm 25% done with rewriting the infrastructure - and should be free of perl and autoit by this time next year.

      Sorry, While I appreciate a fan base carrying stuff on - perl is just.. ick.

      And the documentation - I looked online and say I could get documentation by just typing in dod, so I made the mistake of doing so, and page after page after page after page after page after page after page after page after page after page after page after page after page after page after page after page after page kept paging in the dos window before I three fingered the pc and rebooted.

      Perl isn't my cup of tea. I can use it,code with it, fix it - but it's just an annoyance when I have to go into it. Not trying to flame it - just pointing out that there are other better documented languages that can be used.

      --
      _ _ _ Go for the eyes Boo! GO FOR THE EYES!
    2. Re:Calling out Perl detractors in a release? by spauldo · · Score: 1

      page after page kept paging in the dos window before I three fingered the pc and rebooted

      Wait...

      Do you mean you were actually using Perl in DOS, or that you actually rebooted a Windows machine rather than just close the command window?

      Care to rephrase? Because honestly, no one has had to do either in over a decade.

      --
      Those who can't do, teach. Those who can't teach either, do tech support.
    3. Re:Calling out Perl detractors in a release? by shellbeach · · Score: 1

      That's always a sign of a healthy and thriving development language.

      Could you point me to exactly where detractors are "called out" in the release? I can see no reference to detractors, or indeed any external commentary -- good or bad -- in the release announcement.

    4. Re:Calling out Perl detractors in a release? by shellbeach · · Score: 1

      I recently got hired (july) and found out I was to learn perl to maintain their current infrastructure.

      I'm 25% done with rewriting the infrastructure - and should be free of perl and autoit by this time next year.

      Hang on ... you were hired to maintain code in a language you didn't know, and have responded by -- instead of learning the language and maintaining a mature code base -- by rewriting everything? And you're doing it all in Windows ...

      This all seems ... inefficient.

    5. Re:Calling out Perl detractors in a release? by Anonymous Coward · · Score: 0

      | sed 's/inefficient/like you're a raving loony/g'

      There. fixed that for you. ...

    6. Re:Calling out Perl detractors in a release? by Anonymous Coward · · Score: 0

      sed 's/inefficient/like you\'re a raving loony/g'

      FTFY - Note you need to escape the apostrophe / single quote character in "you're" to avoid an error message.

    7. Re:Calling out Perl detractors in a release? by Zontar+The+Mindless · · Score: 1

      Maybe I'm missing something here, but if you're willing to chuck a whole codebase just because you don't know what a pager is, maybe your employer hired the wrong person.

      --
      Il n'y a pas de Planet B.
    8. Re:Calling out Perl detractors in a release? by the_Bionic_lemming · · Score: 1

      Yep. At no place in my resume did I list perl. If they wanted the same disaster they should fire me. I'm 100% with you on that.

      They seem quite happy at my progress. Specially since I can actually do things without relying on silly things like having scheduled jobs and the stuff I coded already being much more efficient and faster might hinder me being fired.

      Crazy talk, I know. Clinging to perl is the only right solution. Cause like, there's tons of perl people out there that can step right in and Grok it.

      --
      _ _ _ Go for the eyes Boo! GO FOR THE EYES!
  2. Hopefully I'm done with Perl by Snotnose · · Score: 4, Insightful

    I've used Perl since the first release, gotten pretty good at it 5-6 times over the years, and loved it for it's capabilities. But I've also become disgusted with the whole idea of There's More Than One Way to Do It. What TMTOWTDI means in the real world is that, if you have to maintain someone else's perl script, you're in for a world of hurt unless you're a guru at it.

    I don't want to bash perl, it was a great solution back in the day. But nowadays I tend to solve perl problems in either Python or Java (don't get me started on Java, please...). They may be a bit more inconvenient and awkward for some tasks, but when push comes to shove and I have to modify a script I've never seen before I don't have to pull 3 books off the shelf and thumb through them wondering "WTF?"

    1. Re:Hopefully I'm done with Perl by Marginal+Coward · · Score: 4, Interesting

      I've used Perl since the first release, gotten pretty good at it 5-6 times over the years, and loved it for it's capabilities. But I've also become disgusted with the whole idea of There's More Than One Way to Do It. What TMTOWTDI means in the real world is that, if you have to maintain someone else's perl script, you're in for a world of hurt unless you're a guru at it.

      I, too, once loved Perl for its capabilities. Then, a couple of years later, I found Python. I haven't looked back. It's remarkable that two languages which are fairly semantically similar (you can do most of the same things in about the same way) have such converse philosophies: Perl has "There's More Than One Way to Do It" and Python has "There should be one-- and preferably only one --obvious way to do it."

      Even before I found Python, I became disenchanted with Perl for the fact that I found that I had to a comment on nearly every line of my own code to be able to read it later - much as I had learned to do with assembly language. In contrast, I use comments very sparingly in Python because it reads so beautifully.

      Therefore, it's hard for me to imagine why the world would ever need such a thing as Perl 6 - and particularly why the world was supposed to wait 15 years for the privilege. Oh, I forgot...you get to use braces...

    2. Re:Hopefully I'm done with Perl by JustAnotherOldGuy · · Score: 3, Interesting

      I found that I had to a comment on nearly every line of my own code to be able to read it later

      Yep...I go back and look at old perl stuff I wrote 4 or 5 years ago, and I swear to god it looks like line noise. I couldn't debug one of my own programs now to save my life.

      --
      Just cruising through this digital world at 33 1/3 rpm...
    3. Re:Hopefully I'm done with Perl by PerlPunk · · Score: 1

      I've used Perl since the first release, gotten pretty good at it 5-6 times over the years. . .

      That's a bit like saying "I've gotten pretty good at riding a bicycle 5-6 times over the years." Once you learn how to ride a bike, if you go back to it after 20 years of not riding it, you still remember how to ride it.

      What I'm saying here is that there is a certain depth of the language that is more in the realm of intuition and nature rather than syntax but yet is integral to the language itself. If you achieve that depth, you never have to get good at it again. But if you never reach that depth, like the two years of a foreign language everyone in highschool is required to take and just a few years later can't remember a word of it, you will have to relearn it almost from the beginning.

      So in the same sense, I find Perl to be much like riding a bicycle or learning a foreign language. To really say that you have actually learned it, you need to get to a certain depth of mastery in it.

    4. Re:Hopefully I'm done with Perl by Anonymous Coward · · Score: 0

      Fortunately for all of us, There's More Than One Way To Do Heidi Wall and hot grits aren't required!

    5. Re:Hopefully I'm done with Perl by Anonymous Coward · · Score: 0

      Perl has "There's More Than One Way to Do It"

      And Python has: "There should be one-- and only one --way to indent it."

    6. Re:Hopefully I'm done with Perl by blind+biker · · Score: 1

      I use comments very sparingly in Python because it reads so beautifully.

      Not if you have Nystagmus

      --
      "The agriculture ministry is not in charge of Gundam" - Japanese ministry official.
    7. Re:Hopefully I'm done with Perl by KGIII · · Score: 2

      The best part is you can append gibberish to it and tell everyone that you've done lots of work and nobody will know the difference. Hell, it might actually do something useful!

      I am going to admit that I write (or have written) some Perl. I've even given it away. I'd also like to take this time to apologize for my Perl.

      I wrote a "safe list" script for a friend, it was really damned simple. People signed up and sent email messages to each other for the purposes of MLM - that's not why I wrote it, that's just what people did with it. It had a small but functional administration panel. It was about as secure as a screen door. Usernames and passwords were in a plain text file - you were SUPPOSED to move it and chmod it but I don't think anyone ever did even though it was mentioned a few times in the README.TXT.

      Anyhow, he wanted to sell the script. I said that was cool. I was more interested in the code so I made a few versions. It was usually purchased a few times and then hit Usenet in .zip form. They could have at least taken my email out of the damned thing if they were going to steal it. I've long since dropped that email. The last version (released in something like 2002) was free for the taking and my friend charged to install and customize it as he'd learned a little by then.

      So here's the easiest to install script and the least secure thing on the internet - plain text files, indeed, and I *still* see it installed from time to time. I can only imagine that the email address still gets emails from people asking what chmod means or how to upload the file or how they put it in their C drive and nobody seems to be able to access it from the internet.

      Yup... My Perl... Breaking machines, frustrating users, and being insecure for 25 years and running.

      A little part of me is kind of proud of that but my formal statement is, indeed, an apology.

      --
      "So long and thanks for all the fish."
    8. Re:Hopefully I'm done with Perl by KGIII · · Score: 1

      Holy shit... I haven't seen her name mentioned here since the early 2000s when I had my old account. Wow... I wonder if she's still cute? I'd go look at Google but I don't want that memory sullied.

      Speaking of which, it took some effort to load trolltalk. I had to open it twice - the first one sent me to the job board. I don't *want* a job. I want to see who's being lulzy. It turns out, nobody. That place is as dead as bunch of French concert-goers.

      Yes. Yes I did have to add that last part. 'Snot my fault really, I just visited trolltalk and some things are just catchy.

      --
      "So long and thanks for all the fish."
    9. Re:Hopefully I'm done with Perl by Anonymous Coward · · Score: 0

      Meanwhile, Python 3 is the Python community's "Perl 6".

    10. Re:Hopefully I'm done with Perl by GuB-42 · · Score: 1

      Still, Perl is unmatched for throwaway scripts.
      Python has disappointed me. It looks cleaner, it has a faster learning curve but in the end, when things become more complex, I tend to run in the same problems with both languages, mostly related to weak typing. It feels like of a schizophrenic language, offering a clean (but inconvenient) syntax on a messy (but convenient) core.
      Java is the complete opposite of Perl. So much that I don't understand how one can use it to solve Perl problems unless that's all you have. It is extremely verbose when you need to do small things, it is weak where Perl is strong (string manipulation....)... It is, however, better suited for larger projects. The fact that it is a static language helps.
      On thing I sometimes do is that I start with Perl, and when I notice that it will be more than a throwaway script or that performance is lacking, I switch to C or C++ (but you can use Java if you prefer). Done in the early phases, a rewrite isn't costly.

    11. Re:Hopefully I'm done with Perl by ultranova · · Score: 1

      That's a bit like saying "I've gotten pretty good at riding a bicycle 5-6 times over the years." Once you learn how to ride a bike, if you go back to it after 20 years of not riding it, you still remember how to ride it.

      You still remember how to ride it. That's far from actually being good or even okay at it. The same goes to all skills: use them or lose them.

      This is even more true when the design of the tool in question has gone over six major iterations in those 20 years.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    12. Re:Hopefully I'm done with Perl by shellbeach · · Score: 2

      It's remarkable that two languages which are fairly semantically similar (you can do most of the same things in about the same way) have such converse philosophies: Perl has "There's More Than One Way to Do It" and Python has "There should be one-- and preferably only one --obvious way to do it."

      Not that remarkable -- there's more than one way to think about code, after all :) I think most people will always fall into one camp or the other, and it's probably a good thing that the choice is available.

    13. Re:Hopefully I'm done with Perl by Anonymous Coward · · Score: 0

      Yep...I go back and look at old perl stuff I wrote 4 or 5 years ago, and I swear to god it looks like line noise. I couldn't debug one of my own programs now to save my life.

      *cough* ... that might say more about your own coding style than it does about Perl. No language has ever forced someone to write ugly code (well, maybe with the exception of Lisp).

    14. Re:Hopefully I'm done with Perl by serviscope_minor · · Score: 0

      There should be one-- and preferably only one --obvious way to do it."

      Except that's rubbish. It's the nature of programming languages that there are almost infinite ways to do anything. Take python. How can you iterate over an array? Well, there the for loop, there's a for loop using indices, with either range or xrange, there's while loops with indices, there's list comprehension and straight up recursion.

      That's 6 ways of doing the most basic of things which I can think of off the top of my head and we haven't even got to NumPy yet where you have specifically arrays of numbers and there are nice aggregate operators which in many cases have the loops done for you.

      The choice of the "right" one is only "obvious" if you're deeply embedded in python culture. If you arrive from the outside, then the choices are not so clear, because there's nothing inherent in the language which makes one more obvious than the other.

      --
      SJW n. One who posts facts.
    15. Re:Hopefully I'm done with Perl by Marginal+Coward · · Score: 1

      Although you did pick up on the important word "obvious," you missed another important word: "should." Notice that it isn't "must." It's more of a goal than a hard-and-fast rule.

      I don't think we should take any of the Zen of Python too literally. In that vein, Tim Peters gives us a little wink in that regard with his next line, "Although that way may not be obvious at first unless you're Dutch." (Guido, the inventor of Python, happens to be Dutch.)

      Part of the process of learning Python involves learning how to program "Pythonically." That basically involves using the "best" or "canonical" method when there are alternatives. It took me a couple of years before I felt I had truly absorbed all that. That's why it's called The Zen of Python: you just have to slowly absorb it.

      I don't know of any programming language that you can be truly good at without having practiced over a period of years. The same holds true for Python, though an experienced programmer can become at least competent in it in a very short time. Unlike Perl.

    16. Re:Hopefully I'm done with Perl by JustAnotherOldGuy · · Score: 1

      A little part of me is kind of proud of that but my formal statement is, indeed, an apology.

      Lol, yup, this is how a lot of potentially insecure code propagates. And not just perl, of course, but php, python, java, ruby, etc etc etc.

      I remember seeing a perl script that passed the database queries around in the URL as a parameter. Something like "http://domain.com/foo.pl?query=SELECT%20name%20FROM%20users%20WHERE%20userid=123"....

      That one made my head explode. He should have just named the script "HACKME.pl".

      --
      Just cruising through this digital world at 33 1/3 rpm...
    17. Re:Hopefully I'm done with Perl by phantomfive · · Score: 2

      Even before I found Python, I became disenchanted with Perl for the fact that I found that I had to a comment on nearly every line of my own code to be able to read it later

      Do you realize this makes you look like a sucky programmer, and invalidates your expertise in the rest of the program? Seriously, if you had to comment every line to understand your own code, the problem was you. You should have looked at your code and said, "What was wrong with me?"

      --
      "First they came for the slanderers and i said nothing."
    18. Re:Hopefully I'm done with Perl by phantomfive · · Score: 1

      Although you did pick up on the important word "obvious," you missed another important word: "should." Notice that it isn't "must." It's more of a goal than a hard-and-fast rule.

      Dude, you're the guy who can't read your own code. You're not one to be philosophizing about what a programming language "should" be.

      --
      "First they came for the slanderers and i said nothing."
    19. Re:Hopefully I'm done with Perl by KGIII · · Score: 1

      Mine wasn't quite that bad but you had a hard link to the admin page which could be brute forced. Passwords were kept in passwords.txt and adminpass.txt (or something like that - it's been a *lot* of years). You were *supposed* to change the directories AND names but I don't think anyone who "borrowed a copy" ever did - they also didn't change permissions or deny folder access or do any of the suggested things. If they edited it at all it was to remove my name from the bottom where the link my buddy had was and authored by. I mean, it was five bucks or something. Twenty if you wanted it installed. It took ten minutes to install if you did it properly.

      *sighs*

      I do actually see it once in a while 'cause I go looking for it. I did a quick peek and didn't find any so it might actually be gone now but I doubt it - they only ones left probably all have the old (defunct) URL removed and name removed. The URLs generated are fairly typical so it'd take forever to dig through all of those results. I'm way too lazy for that. At one point, I could search for the domain name, script name, etc. and get thousands of hits. It was horrible. I laughed. Oh did I laugh. I am, of course, a wee bit sorry for the resultant mayhem.

      --
      "So long and thanks for all the fish."
    20. Re:Hopefully I'm done with Perl by JustAnotherOldGuy · · Score: 1

      It was horrible. I laughed. Oh did I laugh. I am, of course, a wee bit sorry for the resultant mayhem.

      Lol, it's like committing a heinous crime for which there is no penalty and that you can't be held responsible for.. :)

      --
      Just cruising through this digital world at 33 1/3 rpm...
    21. Re:Hopefully I'm done with Perl by jbolden · · Score: 1

      The argument for Perl6 was to fix a lot of problems that scripting languages in 2000 were suffering from. For example no effective way to compile them. No way to run them safely (i.e sandboxing). No way to run multiple scripting languages on multiple environments.... Those were good objectives to solve. The project just took way too long.

    22. Re:Hopefully I'm done with Perl by jbolden · · Score: 1

      TMTOWTDI was a core idea behind Perl. Perl was designed to allow people migrating from multiple tools to do things their way. Compare 20 lines of Perl to a hodgepodge of C, Bash, TCSH, CSH, Sed, Awk, and a few other command line utilities. That's what it was replacing

    23. Re:Hopefully I'm done with Perl by Marginal+Coward · · Score: 1

      Lemme guess: you're one of those "geniuses" who thinks that the assembly code (and Perl) they write is so obvious that it doesn't need any comments...

      I used to read comp.lang.perl many years ago and soon became horrified at they way Tom Christensen consistently skewered any newbie who wasn't as much of a genius at Perl as he was. (Kindda makes you wonder why he ever bothered to write a book about it if he didn't want to teach newbies.) I've always wondered: what is it about Perl that attracts "geniuses" like you and Tom?...

    24. Re:Hopefully I'm done with Perl by Marginal+Coward · · Score: 1

      I agree wholehearted. In fact, I've often likened writing in Perl to a circus performer walking on a high wire without a net: it's quite entertaining to watch, and I'm glad folks have the opportunity to impress us with their skill and daring in the face of danger but I'm glad I don't have to do it myself. In fact, if I were up there, I'd want a close net, a safety harness, and a really, really, thick wire. (Thanks, Python!)

    25. Re:Hopefully I'm done with Perl by Marginal+Coward · · Score: 1

      Coincidentally, you answered something I was wondering about: what niche is Perl 6 supposed to serve? I like the idea a scripting language that is designed for compilation, but I wonder how well that would actually work in practice. Various compilers are available for Python, though they don't seem to have caught on - presumably because the speed benefits aren't compelling. Facebook created a PHP compiler of some sort, which I assume they use. Fundamentally, though, the basic principles of a scripting language - primarily dynamic variables - run contrary to the needs of a compiler.

      So, is Perl 6 supposed to be a scripting language which allows variables to be statically typed in order to allow effective compilation? If so, that sounds intriguing...if it wasn't somehow still some form of Perl. ;-)

    26. Re:Hopefully I'm done with Perl by phantomfive · · Score: 1

      Assembly code? Maybe not (although modern assemblers are a lot easier), but seriously, if Perl code is hard to read, it's the author's fault.

      --
      "First they came for the slanderers and i said nothing."
    27. Re:Hopefully I'm done with Perl by Anonymous Coward · · Score: 0

      Wait a bit. You gave up on Perl in version 4, 1993-ish, and then 1994 and Perl 5 came out and you said "Hell no!"

      Yet in this post you imply you wrote Perl 4 or 5 years ago. 2010 or 2011.

    28. Re:Hopefully I'm done with Perl by Anonymous Coward · · Score: 0

      Slashdot ate my link. http://developers.slashdot.org/comments.pl?sid=8435693&cid=51061163

    29. Re:Hopefully I'm done with Perl by gustygolf · · Score: 1

      People keep saying that TMTOWTDI is harmful but nobody ever bothers citing a single example where there are actually more than two obvious ways of doing something.

      This rather irritates me. So please provide a concrete example where TMTOWTDI is harmful.

      --
      "Slow Down Cowboy! It's been 58 minutes since you last successfully posted a comment" -- slashdot, driving users away.
    30. Re:Hopefully I'm done with Perl by phantomfive · · Score: 1

      On the other hand, you did find a way to make it readable, even if it was by using tons of comments, so you'd probably be a good person to have as a coworker.

      --
      "First they came for the slanderers and i said nothing."
    31. Re:Hopefully I'm done with Perl by Marginal+Coward · · Score: 1

      ...but seriously, if Perl code is hard to read, it's the author's fault.

      Now, let's be nice to Larry Wall. It's not all his fault. He's actually made a tremendous contribution to programming languages by helping jump start the web via Perl/CGI, and by popularizing many good ideas in programming languages. Most importantly, Guido van Rossum might have made many more mistakes in Python if he didn't have Perl as a counter-example. So, God bless() him.

    32. Re:Hopefully I'm done with Perl by phantomfive · · Score: 1

      Most importantly, Guido van Rossum might have made many more mistakes in Python if he didn't have Perl as a counter-example.

      Hmmmm I see your point.
      I don't know that Guido could have made any more mistakes than he already did, though. He made Python, after all.

      --
      "First they came for the slanderers and i said nothing."
    33. Re:Hopefully I'm done with Perl by Marginal+Coward · · Score: 1

      Sounds like we'll have to agree to disagree on our preferred scripting language. But I'm curious: which things do you feel are the most mistaken about Python? (Besides blocks-by-indenting - practically anyone who dislikes Python cites that as a showstopper for them so I'll go out on a limb and guess that it is for you, too...)

    34. Re:Hopefully I'm done with Perl by jbolden · · Score: 1

      The compilation system for Perl is/was a bit more sophisticated. Parrot would be designed for dynamic languages and thus support types further abstracted from machine types natively: hash or arbitrary length string for example. Thus the compilation to Parrot wouldn't require static variables. .NET incidentally does some of this but doesn't have quite the same levels of support for dynamic languages.

      It is BTW intriguing. Perl if it works will be a huge step forward even today. But of course .NET already does 80% of this so it isn't quite as revolutionary as it would have been.

    35. Re:Hopefully I'm done with Perl by Marginal+Coward · · Score: 1

      Thanks, that was also interesting. I don't know much about Parrot or other virtual machines, but now that .NET has been opened up by Microsoft, I could imagine someone porting it to Parrot if it offers some sort of run-time advantage. Got any thoughts on that?

    36. Re:Hopefully I'm done with Perl by jbolden · · Score: 1

      They aren't close enough. OTOH the .NET compiler is extremely sophisticated for in terms of what it allows statically typed languages to do. I think a cross platform C#, and other languages would be terrific. Heck now that Microsoft doesn't own it, you could build a Java compiler that takes all the code and makes it run 2-3x times faster with enough work.

  3. I've found the Perl 6 community to be dreadful. by Anonymous Coward · · Score: 5, Interesting

    As somebody who has used Perl since Perl 3, I've been following the Perl 6 disaster on and off since its very beginning around 15 years ago.

    As somebody who also relished the fantastic Perl and CPAN communities of the 1990s, I'm sad to say that I've generally been quite ashamed of the Perl 6 community.

    First and foremost is their inability to get anything done. Seriously! They've fucked around with so many incomplete implementations now that I've lost track. Rakudo is just the latest failure in a long string of Perl 6 failures.

    Second is the way they've handled criticism of Perl 6. I see people on Reddit and HN make good points about how awfully Perl 6 has been handled, and these people are savagely downvoted by the Perl 6 community.

    Third is the way they claim that Python 3 was a disaster, when the opposite is clearly true. Python 3 improved Python 2 in important ways, it's well supported by libraries, it sees frequent updates and improvements, and most importantly they've been able to deliver stable production-usable releases for years! Python 3 has been a resounding success in a fraction of the time it has taken Perl 6 to go absolutely nowhere.

    Fourth is the way that Perl 6 isn't actually that much of an improvement over Perl 5, assuming that it actually is an improvement at all. This is difficult to evaluate because of the lack of reliable, complete implementations.

    Fifth is the way that they've tarnished the reputation of Perl as a whole. Now when people hear the name "Perl" they think of Perl 6 and its 15 years of screwing up. They no longer thing of the scripting language that, while maybe not the prettiest, was damn expressive and very effective to use. "Perl", which once evoked a sense of pride in many people now evokes a sense of disappointment and shame.

    Even if the language does turn out to be better than Perl 5, I don't think I'll even bother using it. I just don't want to have to deal with the people who make up its community!

    1. Re:I've found the Perl 6 community to be dreadful. by JustAnotherOldGuy · · Score: 2

      I gave up on Perl around version 4 but still dabbled with it...and then version 5 came out, and my response was a resounding, "Hell no!"

      I watched perl go from a very cool, somewhat terse language to a complete clusterfuck of unimaginable proportions. When carp started crashing in response to a bad bug I realized that perl was only going to cause me more heartaches, headaches, and wasted hours of trying to track the problem to the offending line.

      And as much as people hate php, it's nearly impossible to crash it so hard that it won't at least give you some info about the problem that caused it to choke on. It's a billion times easier to debug than perl.

      The other thing is that maintaining someone else's perl code can be a total nightmare. With C++, Java, PHP, or C# there is usually at least some consistency to the code from programmer to programmer...but not with perl. There are probably 500 different ways to do any common thing ("Hello world!") and what is clever, clear, and obvious to programmer A is completely unreadable and opaque to programmer B. Yes, there may be "more than one way to do it" in perl, but trust me, that's not always a good thing.

      I liked perl...but after version 5 it didn't like me.

      --
      Just cruising through this digital world at 33 1/3 rpm...
    2. Re:I've found the Perl 6 community to be dreadful. by Anonymous Coward · · Score: 3, Interesting

      I lost interest in Perl when they announced Perl 6 would be incompatible with Perl 5. If I'm going to have to learn a whole new syntax to stay current, why not just switch to a new language that isn't hated by half the planet? Now if they had released Perl 6 in a decent amount of time and it was good I might have gone back, but at this point I've moved on and so has everyone else.

    3. Re:I've found the Perl 6 community to be dreadful. by Crazy+Taco · · Score: 2, Interesting

      With C++, Java, PHP, or C# there is usually at least some consistency to the code from programmer to programmer...but not with perl. There are probably 500 different ways to do any common thing ("Hello world!") and what is clever, clear, and obvious to programmer A is completely unreadable and opaque to programmer B. Yes, there may be "more than one way to do it" in perl, but trust me, that's not always a good thing.

      Hang on, you've obviously never coded much with C++ in the real world. I'll give you that Java and C# are fairly consistent, but absolutely no way with C++. That language is literally the "everything and the kitchen sink and the range rover, the dog, the refrigerator and everything in Walmart all thrown together" language. When you try to support every possible programming paradigm in a single language like C++, you can get programs that look like they were written in two different languages. It is not more consistent than Perl, and if there are 500 ways to do something in Perl it's probably a million in C++.

      And as much as people hate php, it's nearly impossible to crash it so hard that it won't at least give you some info about the problem that caused it to choke on. It's a billion times easier to debug than perl.

      Again, if we are going to talk about debugging, I would strongly dispute the Perl is the hardest. I know you mentioned PHP in this part of the quote, but if you want to talk about hard debugging, I would again refer you to C++. Operator overloading? Check... that can make things crazy. Not to mention C++ is not an interpreted language, but a compiled language, and you can be doing very low level things with it. You can get into some very hard situations to debug in that language.

      And actually, I want to state for the record I'm not a C++ hater. It was my first language and still one of my favorites (next to C). Despite the difficulties it's an incredibly powerful language. And it's the same with Perl. Certainly I prefer a language that is simpler all else being equal, but there are languages like Perl and C++ that overcome their craziness to be something quite powerful anyway. And I'm not putting down some of the "simpler" languages like Java or C# either, because they are also excellent, powerful languages. Each has their place... for general development I'd pick Java or C#, but for concise easy text parsing Perl is probably best, and for interacting with hardware or doing things really optimally it would be hard to beat C++ (or C).

      --
      Beware of bugs in the above code; I have only proved it correct, not tried it.
    4. Re:I've found the Perl 6 community to be dreadful. by hcs_$reboot · · Score: 1

      The Achilles heel of Perl is the references. Like in Java, JS and many others (PHP also but with copy-on-write) Perl should only have a references layer that is hidden from the dev perspective.

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    5. Re:I've found the Perl 6 community to be dreadful. by Anonymous Coward · · Score: 0

      All I have to say is that the simplest explanation is best-> C++ is garbage.

    6. Re:I've found the Perl 6 community to be dreadful. by Anonymous Coward · · Score: 1

      C++ is nowhere near as bad as Perl for consistency. For example, C++ has only one way to define a function which takes multiple arguments: the way defined by the language. Perl doesn't define any specific way to do this and so every developer implements it differently.

    7. Re:I've found the Perl 6 community to be dreadful. by Anonymous Coward · · Score: 0

      perl is my first choice for munging text. But I don't use much beyond what I did back in perl 4.

    8. Re:I've found the Perl 6 community to be dreadful. by shellbeach · · Score: 1

      I gave up on Perl around version 4 but still dabbled with it...and then version 5 came out, and my response was a resounding, "Hell no!"

      I watched perl go from a very cool, somewhat terse language to a complete clusterfuck of unimaginable proportions. When carp started crashing in response to a bad bug I realized that perl was only going to cause me more heartaches, headaches, and wasted hours of trying to track the problem to the offending line.

      I think you must have had a couple of unusually bad experiences very early on. Perl 5 is in my experience (and god knows how many lines of Perl code I've written by now) a very mature and stable language. I can't recall an experience in which an error wasn't simple and straightforward to debug thanks to a clear error message pointing me to the exact issue in the code.

    9. Re:I've found the Perl 6 community to be dreadful. by serviscope_minor · · Score: 3, Funny

      When carp started crashing in response to a bad bug I realized that ...

      Really? That sounds fishy to me.

      --
      SJW n. One who posts facts.
    10. Re:I've found the Perl 6 community to be dreadful. by Anonymous Coward · · Score: 1

      I almost held back from Python 3 because I kept having to type in print statements twice. Once without the parentheses, and then again to fix them :-)

    11. Re:I've found the Perl 6 community to be dreadful. by Anonymous Coward · · Score: 0

      My only criticism of Python is the way the language developers have mingled non-object-oriented and object-oriented constructs. If they want Python to be an object-oriented programming language, then replace the non-object-oriented parts with their object-oriented equivalents. Take a lesson from the Smalltalk language design. As for Perl I cannot understand the constant perceived need to keep adding new features. I have used Perl for many years and this Perl 6 fiasco has been on-going for over a decade already.

    12. Re:I've found the Perl 6 community to be dreadful. by JustAnotherOldGuy · · Score: 2

      Really? That sounds fishy to me.

      We, the jury, find the defendant gill-ty of terrible fish puns.

      (Or maybe I just needed more time to mullet over.)

      --
      Just cruising through this digital world at 33 1/3 rpm...
    13. Re:I've found the Perl 6 community to be dreadful. by phantomfive · · Score: 1

      Python 3 has been a resounding success

      It's fractured the community for years, and probably will continue to do so for years to come.

      --
      "First they came for the slanderers and i said nothing."
  4. Somehow... by KermodeBear · · Score: 2

    Perhaps it was momentary insanity, but I expected the syntax of Perl 6 to be more readable and less obstuse. Looking through the Perl 6 advent calendar, I noticed that, somehow, the people working on Perl 6 seem to have made it even worse.

    Perl will always be the ugliest language in the world.

    --
    Love sees no species.
    1. Re:Somehow... by rmdingler · · Score: 0
      You see, I had a perl necklace joke thing goin' right there and you assed it up...

      Crazy good sig.

      --
      Happiness in intelligent people is the rarest thing I know.

      Ernest Hemingway

  5. What a fucking childish logo! by Anonymous Coward · · Score: 0, Informative

    The Perl 6 logo is unbelievably childish. Even if Perl 6 were actually usable, I couldn't suggest it to my boss or colleagues. They'd take one look at the Perl 6 home page, see the immature logo, burst out laughing, and think I was joshing them, even if I was completely serious! I thought the decade of failure was bad enough, but seeing that logo makes things even worse!

    1. Re:What a fucking childish logo! by JustAnotherOldGuy · · Score: 1

      The Perl 6 logo is unbelievably childish.

      It's an embarrassment...it looks like some kiddy mascot for The Happy Butterfly Who Loved Flowers or some shit like that.

      You're right- show that to your boss and you'd be lucky if you had a job by the end of the day. Seriously, what the fuck were they thinking?

      PHP's "purple elephant" was bad enough, but the perl 6 logo makes it look like a masterpiece of corporate design.

      --
      Just cruising through this digital world at 33 1/3 rpm...
    2. Re:What a fucking childish logo! by Marginal+Coward · · Score: 1

      PHP's "purple elephant" was bad enough, but the perl 6 logo makes it look like a masterpiece of corporate design.

      I suspect that this is yet another Microsoft conspiracy to make their famous goof on Clippy the dancing paperclip look better - they probably abused the Open Source process to somehow sneak that in.

      (Disclaimer: it's just a joke. :-)

    3. Re:What a fucking childish logo! by Anonymous Coward · · Score: 0

      i don't think i can fully trust anyone who doesn't like that awesome butterfly

      fuck ur boss

    4. Re:What a fucking childish logo! by JustAnotherOldGuy · · Score: 1

      (Disclaimer: it's just a joke. :-)

      Or is it, Mr "Marginal Coward", if that even is your real name... ;)

      --
      Just cruising through this digital world at 33 1/3 rpm...
    5. Re:What a fucking childish logo! by hcs_$reboot · · Score: 1

      You may like better the Christmas one .

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    6. Re:What a fucking childish logo! by Cthefuture · · Score: 1

      I very often am one of the first to bash logos but the Perl logo is not that bad. Maybe not the greatest ever but acceptable. In fact it's way better than the Linux penguin and I say this as a Linux fan since the pre-0.9 days.

      I use Perl (5) when I need high speed text/regex/string-hashing processing. It's still the the best to whip up something quick especially when processing text. For anything else I use Lua, C/C++, or if I have to, Python (blech).

      --
      The ratio of people to cake is too big
  6. Re:What a childish logo! by Anonymous Coward · · Score: 0

    Let me guess: you didn't like Clippy either.

  7. knit one... by Anonymous Coward · · Score: 0

    perl who?

    Sorry perl, your day, which you never deserved to begin with, is OVER.

    LOL@vword: agreed

  8. Different intent by Okian+Warrior · · Score: 3, Interesting

    Perhaps it was momentary insanity, but I expected the syntax of Perl 6 to be more readable and less obstuse. Looking through the Perl 6 advent calendar, I noticed that, somehow, the people working on Perl 6 seem to have made it even worse.

    Perl will always be the ugliest language in the world.

    Perl isn't meant to be simple, it's meant to be expressive.

    A simple language is wordy, requires a lot of typing and keywording to express a thought. Cobol has things like "move a to b", which is simple and readable, but requires a lot of typing. Basic has things like "for index = 1 to 10 step 2" which is very readable, but requires you to type out "step" and "to".

    Perl is meant to be terse and expressive, which in practice means that things you typically want to do in programming can be called out in short sequences. Larry took a look at all the things that programmers want to do and encapsulated them in the syntax as a sort of short hand notation. Sort of like how emacs macros do complex things tersely, which could also be done with a bunch of keystrokes.

    Perl is also a non Von Neumann language, meaning that it does not reflect the underlying Von Neumann architecture. It focuses on functionality instead of the machine, and as a result things like file operations are part of the syntax and not a library call.

    For example, variables do not represent memory areas like they do in C. This allows Perl to do things like automatic allocation and garbage collection, and be unicode compliant. (Characters are not specifically 8-bit entities in Perl.)

    This means that a lot of what you do in Perl is completely portable across architectures. File I/O and filename searching are part of the language, and thus not architecture specific.

    Sometimes these are important. Being able to run on multiple architectures, or getting a prototype up and running quickly, or not having to debug allocation errors makes the act of programming more efficient.

    ...but at the cost of requiring the programmer to know a more complex syntax.

    1. Re:Different intent by KermodeBear · · Score: 3, Funny

      > Perl isn't meant to be simple, it's meant to be expressive.

      I can express myself by writing a comment, or I can run down the middle of my town naked with peanut butter smeared all over me while shouting gibberish.

      I know which one I am doing right now.

      --
      Love sees no species.
    2. Re:Different intent by Marginal+Coward · · Score: 2, Interesting

      Perl isn't meant to be simple, it's meant to be expressive.
      A simple language is wordy, requires a lot of typing and keywording to express a thought.

      Interesting point, but when I first learned Python many years ago, I converted my set of useful Perl scripts into Python, partly as a learning exercise. I was surprised to learn that each one was smaller in terms of both number of lines. After doing a post mortem, I realized that the elimination of braces more than made up for Python's more explicit keywords.

      That said, I would never claim that one can create powerful "one liners" in Python as one famously can in Perl. But I consider that a feature.

    3. Re:Different intent by Okian+Warrior · · Score: 2

      > Perl isn't meant to be simple, it's meant to be expressive.

      I can express myself by writing a comment, or I can run down the middle of my town naked with peanut butter smeared all over me while shouting gibberish.

      I know which one I am doing right now.

      If you need language constraints on your programming style to prevent you from, metaphorically, running around naked and screaming gibberish, then Python is right for you.

    4. Re:Different intent by Anonymous Coward · · Score: 1

      This is why you write everything on the same line and don't waste perfectly good lines on braces. You just perl wrong.

    5. Re:Different intent by Anonymous Coward · · Score: 0

      Perl isn't meant to be simple, it's meant to be expressive.

      Unfortunately, it's failing at that. Lisp is expressive. C++ is expressive.

      Perl is just a messy, slow, interpreted language with the usual hooks into the interpreter that go along with that.

    6. Re:Different intent by wwalker · · Score: 3, Funny

      I can express myself by writing a comment, or I can run down the middle of my town naked with peanut butter smeared all over me while shouting gibberish.

      Hi, neighbor, you missed a spot.

    7. Re:Different intent by Anonymous Coward · · Score: 0

      > I know which one I am doing right now.

      You need to keep writing comments, you have me worried now.

    8. Re:Different intent by Anonymous Coward · · Score: 1

      #A simple language is wordy, requires a lot of typing and keywording to express a thought.

      bah, a simple language is clearer and more readable, and that is the key to understandability and maintainability.
        we dont need to save individual keystrokes in 2015. There's nothing that perl can do that cant be done in a more
      understandable way in an equivalent language. The 90s are long gone and we have many better alternatives, buh-bye to perl.

    9. Re:Different intent by KGIII · · Score: 1

      There's something to be said for ubiquitous mobile connectivity! I still want to know how you typed so well while running?

      Hmm... I do remember some freakish dude who tooled around on a recumbent bike a long, long time ago (in tech years). He had cellular connectivity, a helmet, and a computer mounted on his bike. He typed with a few buttons on either handlebar and had some early HUD-like thing. I think he was based out of Ohio but I'd not swear to it. He was unusual. He was even using cellular connectivity back then. Hmm... I wonder how much tech has improved his state of being by now? Or if he's been pasted by a semi while tooling around, typing, reading, talking, and doing it all while riding a bicycle on a routed highway?

      No, no I don't really have a point except that such would, maybe, enable you to type while running down the road slathered in peanut butter.

      --
      "So long and thanks for all the fish."
    10. Re:Different intent by Anonymous Coward · · Score: 0

      > I know which one I am doing right now.

      I guess I know what you wanna do next :-)

    11. Re:Different intent by Anonymous Coward · · Score: 1

      Perl isn't meant to be simple, it's meant to be expressive.

      Obfuscated is not expressive, it is actually pretty much the opposite.

    12. Re:Different intent by Pseudonym · · Score: 1

      Interesting point, but when I first learned Python many years ago, I converted my set of useful Perl scripts into Python, partly as a learning exercise. I was surprised to learn that each one was smaller in terms of both number of lines. After doing a post mortem, I realized that the elimination of braces more than made up for Python's more explicit keywords.

      That's interesting, and on reflection, I think you're right.

      I've used a lot of programming languages. (There are over 60 mentioned on my CV.) Without getting into the language pissing contest, it suggests that "number of lines" isn't necessarily the measure of "terseness" that most people want. The main measures for me are: How much information can fit on a screen, and how much effort does it take to say what I want to say?

      In modern editors with smart autoindent it takes the same number of keystrokes to do braces vs indentation-based scoping. If you're used to both and aren't deliberately writing obfuscated code, they're equally readable. The effort to write a modest-sized keyword vs a punctuation mark is also similar. So really, there's not a lot in it.

      What about information density on screen? That's a bit more interesting. Basically, you're trading horizontal space for vertical space.

      Is that an issue? You'd think that we have more text resolution than ever with our modern high-def screens. Most undergraduate-level terminals were 80x24 when I started out, but in the PC space, the best VESA text modes were 80x60 or 132x60, at the cost of an unreadable font. I just checked the shells that I have open, and they are 80x60. I don't believe in the 80 column limit, so my vim instances are about 120x60, and Eclipse gives me about the same. So it looks like we haven't actually advanced.

      --
      sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
    13. Re:Different intent by Pseudonym · · Score: 1

      Unfortunately, it's failing at that.

      I'm glad you said "failing" rather than "failed". 15 years of stagnation will do that to you.

      I still use Perl as a better shell script, better AWK, better Tcl, etc. It is better than those things, especially if you need features from more than one of them.

      --
      sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
  9. The Zen of Perl by Marginal+Coward · · Score: 4, Interesting

    After observing above that Perl and Python have converse philosophies on the point of "There's more than one way to do it," I realized that a Zen of Perl could be formulated by creating the Zen of Python's evil twin:

    Ugly is better than beautiful.
    Implicit is better than explicit.
    Complex is better than simple.
    Complicated is better than complex.
    Nested is better than flat.
    Dense is better than sparse.
    Obscurity counts.
    Special cases aren't ordinary enough to follow the rules.
    Although obtuseness beats clarity.
    Errors should sometimes pass silently.
    Unless you tell them to die.
    In the face of ambiguity, refuse the temptation to delineate.
    There's more than one way to do it.
    Although those ways may not be obvious at first unless you've consulted the manual.
    Fifteen years is better than three.
    Although never is often better than *fifteen* years.
    If the implementation is hard to explain, it's a good idea.
    If the implementation is easy to explain, it may be a bad idea.
    Namespaces are one honking good idea -- let's use as many as possible!

    Presumably, this applies to Perl 6 as much - if not more - than to Perl 5. Otherwise, exactly what sort of "improvement" is Perl 6?

    (with apologies to Tim Peters for applying a little Artistic License to his fine work.)

    1. Re:The Zen of Perl by mbkennel · · Score: 1

      There's more than one way to do it, and at least seven to fuck it up.

  10. Something to look forward to by Marginal+Coward · · Score: 2

    I look forward to the day that Slashdot is rewritten in Perl 6. Heck, maybe it can even be used to breathe life back into the late great Beta.

    1. Re:Something to look forward to by hcs_$reboot · · Score: 1

      Slashdot main problem is not server side, it's client side, mainly CSS

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    2. Re:Something to look forward to by thegarbz · · Score: 1

      Slashdot's MAIN problem has nothing to do with code, languages or even the computers on which it is run.

    3. Re:Something to look forward to by Anonymous Coward · · Score: 0

      Agreed. Slashdot's main problem is the people who run it. They favor sensationalist clickbait trash over interesting stories.

      Firing all the current editors may not fix the problem, but it would be a good start.

    4. Re:Something to look forward to by hcs_$reboot · · Score: 1

      I made a "submission" about something that really annoys me since yesterday..

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    5. Re:Something to look forward to by thegarbz · · Score: 1

      Ironically enough both of those ads are above the checkbox that says disable advertising.

    6. Re:Something to look forward to by Anonymous Coward · · Score: 0

      Yep, it's pebkac. Probably caused by all the mongrel pythonistas who are ruining this thread ...

    7. Re:Something to look forward to by Marginal+Coward · · Score: 1

      Just for the record, my original comment was just a joke, son, ah say, a joke.

    8. Re:Something to look forward to by Anonymous Coward · · Score: 0

      Slashdot's main problem is the people who run it.

      Slashdot's main problem is the people who own it.

    9. Re:Something to look forward to by hcs_$reboot · · Score: 1

      Mine was not. Nope.

      --
      Slashdot, fix the reply notifications... You won't get away with it...
  11. An Apostate!! by PerlPunk · · Score: 3, Funny

    Aha! A Python-eer in Perl-monger clothing!!

    O vile Apostate! May your Python 3 and all of its descendents forever live in the shadow of Python 2!

    Since the Apostate hath claimed to have been a devotee of Perl, let us, the faithful Perl-Mongers, treat him as the apostate he is and casteth his anonymous screed into the depths of -2 anonymity.

    May all the faithful cast aspersions and down-votes upon the vile post of the parent!

  12. looked at some sample code in the advent calendar by Anonymous Coward · · Score: 0

    Cool nostalgia trip, but fuck that shit.

  13. Perl? I thought most everyone moved on to Python by QuietLagoon · · Score: 1

    If you were to learn a new scripting language today, would you start with Perl or Python?

  14. Advent Calendars... Church... by Etherwalk · · Score: 2

    But.. but... what about the separation of Church and Perl?

    1. Re:Advent Calendars... Church... by Guy+Harris · · Score: 1

      But.. but... what about the separation of Church and Perl?

      So what would Church think of Perl?

  15. Re:Perl? I thought most everyone moved on to Pytho by Anonymous Coward · · Score: 1

    I'd start with Javascript. It's not just for making annoying websites anymore. In the last five years it has gone though some amazing advances, culminating in ECMA6 this year.

  16. Re:Perl? I thought most everyone moved on to Pytho by the_Bionic_lemming · · Score: 1

    Can we please add suicide as a third option?

    --
    _ _ _ Go for the eyes Boo! GO FOR THE EYES!
  17. Re:Perl? I thought most everyone moved on to Pytho by Crazy+Taco · · Score: 2

    I'm actually faced with this dilemma now, and I'm strongly considering Perl 6. I have to do a considerable amount of work with configuration files and text parsing as part of my job, and I'm willing to bet Perl can still do that better than anything else if I can achieve enough mastery in it, since that's basically what it's designed for. And Perl 6 is supposed to finally be adding objects, which was one of my big turn offs for Perl 5, so I'm hoping it will be a good fit for me. Also, I'm often under the gun when I'm doing this work, so something terse and expressive seems best.

    Note - I tried filling this role with Powershell over the last few years, but it's a huge pain in the butt. It's hard to debug, and while I love the fact that it uses objects everywhere, it's not so great when I want to use "select-string" to grep some text and Powershell returns some crazy "match-info" object with all kinds of other nested objects I can't hardly begin to decipher (and this happens a lot... you want a command to return something simple and it returns some crazy complicated object). And creating a new object or class of your own on the fly in Powershell? Royal pain in the butt... better create the class in C# and import it. It just got to the point where I felt like it would be easier to write most of my stuff in C# to start with than use Powershell, unless it was just to run a series of Windows commands for which Powershell cmdlets had already been written.

    I guess if Perl is too hard to learn though, I'll join the revolution and try Python. But I don't think I'm going to start there.

    --
    Beware of bugs in the above code; I have only proved it correct, not tried it.
  18. Re:Perl? I thought most everyone moved on to Pytho by Gravis+Zero · · Score: 1

    If you were to learn a new scripting language today, would you start with Perl or Python?

    no, i wouldn't start either. instead i would start with learning POSIX shell scripting because it will run on anything remotely POSIX-y.

    --
    Anons need not reply. Questions end with a question mark.
  19. There will be a stampede of developers to Perl 6 by Crazy+Taco · · Score: 2, Interesting

    It's funny how everyone here says "No one is going to try that". Actually, Perl 6, if it releases by Christmas, will probably be the hottest language around in the next year or two. And I'm not necessarily saying that because of it's merits (which I have not definitively assessed one way or the other). I'm saying that because developers are pretty much all about "Hey new shiny thing over here!".

    It seems like pretty much every time a new language drops there's a stampede to it by developers just because its new. Hey, Ruby on Rails! Hey, there's C# over there! Hey, F#! Hey, Erlang! Hey, Javascript framework of January! Hey, Javascript framework of February! Hey, Javascript Framework of the second half of February! Whoa look, it's Coffeescript! ......... Hey, it's Perl 6!

    Some of these of course are decent languages and frameworks and have staying power... others, perhaps not as much. We'll know after five years or so where Perl 6 is going to end up. But don't underestimate the ability of developers to stampede at something for no other reason than that it is new. I expect considerable chatter at some point just because it's the new kid on the block.

    --
    Beware of bugs in the above code; I have only proved it correct, not tried it.
  20. Re:Perl? I thought most everyone moved on to Pytho by the_Bionic_lemming · · Score: 1

    Agreed.

    When you have to do flips to find ount something like

    if ($foo ne "Email") fails when you read a line in because while it is Email only without the quotes, there' s something wrong.

    And in strawberry, why can't you use say ? say is supposed to let you print without having to do \n.

    --
    _ _ _ Go for the eyes Boo! GO FOR THE EYES!
  21. words are A-OK by mbkennel · · Score: 3

    | A simple language is wordy, requires a lot of typing and keywording to express a thought. Cobol has things like "move a to b", which is simple and readable, but requires a lot of typing. Basic has things like "for index = 1 to 10 step 2" which is very readable, but requires you to type out "step" and "to".

    I have learned how to type and I can type "step" and "to" rather quickly now, and certainly remember what they mean, a whole bunch faster than remembering what ^%::() means, right now in this file in this programming language given that I have to sort of remember 5-7 of them for my job.

    I'm just an ordinary human with an ordinary human neocortex. Us in the hoi polloi have evolved brain circuits for natural language which have been trained to recognize sequences of letters known as words, and we've learned what they mean somewhat automatically since we were about 4 years old.

    Note that when we have to explain "for index = 1 to 10 step 2" we don't say,. 'well of course it really means j/x&&*10(2)", but instead we use the communication protocol which has words in it. A cortex is not lex and yacc.

    1. Re:words are A-OK by Anonymous Coward · · Score: 0

      With Perl you get x number of potential ways to fuck something up.

        I've taken to calling this 'weight': the more knowledge a programmer needs to understand a program, the heavier the program becomes to maintain. If you want to reduce the cost of maintaining programs, reduce the weight.

  22. Re: There will be a stampede of developers to Perl by Anonymous Coward · · Score: 1

    No. Perl is not new no matter how much they tard [sic] it up. It's a great language for scripts and text manipulation that a bunch of hack sysadmin types started writing inappropriately large apps in.

    Perl is the pinnacle of what a perl based language can be and nobody halfway smart will lock themselves into perl again.

  23. Re:Perl? I thought most everyone moved on to Pytho by spauldo · · Score: 1

    If you're doing text manipulation, Perl's probably the way to go. The base language is set up well for it, and CPAN is full of text manipulation libraries.

    I'd never suggest Perl as a first language, but it sounds like you've got other languages under your belt already.

    I'd hate to use it outside of UNIX, though. Perl's very UNIXy. But I came to it as a sysadmin, not as a programmer, and I use it as a glue language more than anything else, so maybe that's just me.

    Perl 5 has objects, BTW. The syntax is just weird for them. It's no worse (and probably better) than Javascript's funny OO system.

    --
    Those who can't do, teach. Those who can't teach either, do tech support.
  24. Perl is dead by Anonymous Coward · · Score: 0

    She's dead, man. Let her go.

    The Fall Of Perl, The Web's Most Promising Language http://www.fastcompany.com/302...
    5 Programming Languages Marked for Death http://insights.dice.com/2014/...
    Perl is Dead. Long live Perl. http://archive.oreilly.com/pub...

    Meta-troll: Mod me a troll. Do it! Do it! Waste your shiny mod point to make my dream come true.

  25. That's why it is used on slashdot! by Ecuador · · Score: 1

    This allows Perl to do things like automatic allocation and garbage collection, and be unicode compliant.

    Exactly! That's exactly why slashdot was written in Perl!

    --
    Violence is the last refuge of the incompetent. Polar Scope Align for iOS
  26. Re:There will be a stampede of developers to Perl by Anonymous Coward · · Score: 0

    I have no doubt people will try it. I just don't think anyone of consequence will stick with it.

    All those other things you mentioned have one thing in common - they're still used by people to get work done, and even used in new projects in some cases. Perl on the other hand has been steadily phased out over the last 10 years.

  27. Re:Perl? I thought most everyone moved on to Pytho by campingman777 · · Score: 1

    ES6 is moving JS closer to looking like Java. ES7, due out next year, does so even more. With Babel & Webpack, you can use ES6 today.

  28. And yet ... by Anonymous Coward · · Score: 0

    ... nobody cares.

  29. Re:Perl? I thought most everyone moved on to Pytho by Anonymous Coward · · Score: 0

    If you are tweaking config files, use Ansible.

    Sure, I've written config management systems at many different jobs, but ansible does this much better and in an easy-to-manage way. Cross-platform for certain values of "platform".

  30. Perl 5 is nice if you're very disciplined. by dskoll · · Score: 2

    I develop and maintain a product with a medium-sized code base in Perl 5. We have pretty thorough style and coding guidelines and the Perl is quite readable and maintainable. One of the nicest things about Perl that hardly anyone mentions is POD --- the abiility to put documentation right in the .pm files. This makes it much easier to keep the docs and the code in sync.

    But yeah, Perl 6 is a disaster and some of its ideas have started to infect Perl 5 modules with ridiculously baroque and over-engineered code (I'm talking about you, Moose.)

    Anyway, even the Perl 6 people admit that Perl 6 is not an upgrade to Perl 5, but a different language. So I'll ignore it and continue reasonably happily on Perl 5.

  31. Re:Perl? I thought most everyone moved on to Pytho by dskoll · · Score: 1

    POSIX shell scripting is all fine and dandy until you deal with filenames with spaces in them, at which point it's nothing but tears. Shell script variable substitution is a real pain to get working in all situations.

  32. Re:Perl? I thought most everyone moved on to Pytho by spauldo · · Score: 1

    Yeah, I saw that. It's definitely a step in the right direction.

    Javascript is schizophrenic to the extreme. It's always struck me as a poorly implemented LISP that was pounded into something that looked like C. It's not so horrible once you get to know it, but learning it was a major pain in the ass.

    My university is considering making it the first language they teach. I suggested to the instructor that it was probably not a good idea.

    --
    Those who can't do, teach. Those who can't teach either, do tech support.
  33. Hey.... by Anonymous Coward · · Score: 0

    Can anyone find the earliest Slashdot post about the coming of Perl 6? Could of sworn it was close to 20 years ago...

  34. Perl replaced by RUBY for Glue Code by Anonymous Coward · · Score: 0

    I used to do a lot of glue code with Perl. Its regular expressions, various perl modules, many documented solutions made it very handy indeed for tasks like stopping webservers, rolling log files with time-date stamps, archiving old log files, restarting the webserver, etc. It was also good for parsing large data sets that come as flat text files and putting them into MySQL or what have you with good error checking.

    A fairly common task would be to take a variable with a value that has a Quote in it: name=O'Neil and escape it or something to insert into MySQL. Perl handled that well.

    I switched to Ruby for these tasks for the following reasons:

    A. More active development and a more active development community.
    B. Better MySQL and PostrgreSQL driver support.
    C. Better example documentation and online examples for things like inserting values into a MySQL database.
    D. Object Oriented from the start -- once you start doing object oriented programming even fairly simple "glue code" tasks that are utility based become far easier.

    Perl really shined as a way to quickly get things done. Now I use Ruby. Examples would be calling rsync in Linux and robocopy in Windows to backup or restore various data files from or to USB.

    Yeah, I could use Python for that. I don't like the space stuff for syntax, Ruby is quite good enough for glue code, heck I've even written some Monte Carlo simulations which took me less time than constructing an Excel spreadsheet and was easily imported into R for analysis and graphing.

    I think Ruby not Python is the main successor to Perl as a utility coding language. I've never coded in Rails, have no interest in that. But I do code fairly often to automate repetitive tasks or do Monte Carlo sims or stick stuff in databases and for that Ruby works ...

    Elegantly. It does indeed put a smile on my face when I use it.

  35. Parrot? by Walter+White · · Score: 1

    What happened to the parrot?

    1. Re:Parrot? by mangobrain · · Score: 1

      It's pining for the fjords.

  36. Re:What a childish logo! by Marginal+Coward · · Score: 1

    From one old guy to another, I'm glad we can both have some fun with it. :-)

  37. Re:What a childish logo! by JustAnotherOldGuy · · Score: 1

    From one old guy to another, I'm glad we can both have some fun with it. :-)

    Us oldsters have all the fun, because we've tried everything and we can remember what was good versus what caused a sucking chest wound.

    --
    Just cruising through this digital world at 33 1/3 rpm...
  38. Re:Perl? I thought most everyone moved on to Pytho by Anonymous Coward · · Score: 0

    As someone who has recently been tasked with using Javascript for scripting (rather than web pages), this is my immediate evaluation which, if I know Slashdot, you guys will set me straight on if I'm incorrect :-)

    The base language itseld seems to have far less library meat than other languages (secure FTP was the one I needed most recently). And, if you decide to use Node.js to get such stuff, it appears to enforce on you the async nature of web pages which doesn't make sense for sequential scripts.

    Now granted, I'm just a beginner at this particular aspect, but it seems very difficult compared to, say, Python which I'm way more familar with.

  39. Re:What a childish logo! by Pseudonym · · Score: 1

    Nobody liked Clippy. You don't win that one, Nostradamus.

    --
    sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});