Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: The Slashdot Interview With Larry Wall

by Erez (Priest)
on Jul 18, 2016 at 13:30 UTC ( [id://1167968]=note: print w/replies, xml ) Need Help??


in reply to The Slashdot Interview With Larry Wall

Here's the post asking for questions. Quite a barrage of FUD there, which I find both odd and a bit ignorant.

Principle of Least Astonishment: Any language that doesn’t occasionally surprise the novice will pay for it by continually surprising the expert

  • Comment on Re: The Slashdot Interview With Larry Wall

Replies are listed 'Best First'.
Re^2: The Slashdot Interview With Larry Wall
by choroba (Cardinal) on Jul 18, 2016 at 13:36 UTC
    But some answers are hilarious, e.g. to someone asking about why Perl syntax is so bad:

    > Perl and "Rizla fine rolling papers" should have a common tag line: It's what you make of it

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

      ...and:

      "What do you say about this criticism and the exploited flaws?"

      LW: "Doctor, it hurts when I do this!"

      "Well then, don't do that."

        I kinda like this quote, from a question, rather than from LW:

        "[learning Perl 6] involves learning a new language I thought I knew well.

        Principle of Least Astonishment: Any language that doesn’t occasionally surprise the novice will pay for it by continually surprising the expert

Re^2: The Slashdot Interview With Larry Wall
by doom (Deacon) on Jul 20, 2016 at 18:29 UTC

    I really liked this comment, myself:

    shaitand ( 626655 ) wrote:
    The primary internet usage of Perl was coded for CGI. That usage is almost non-existent now. But Perl usage as part of a modern stack is on the rise again even if it is one of the less popular choices it is technically one of the better non-blocking highly parallel solutions able to handle thousands of concurrent connections without breaking a sweat. Actually the concurrent non-blocking thread model that is needed to break 10k connections which is being newly adopted everywhere else was the heart of the now ancient POE system in Perl. There are newer and more shiny solutions like Mojolicious being used these days.

    It's nice to see there's still someone else out there correcting things that are Wrong On The Internet. I don't always have time myself.

      it is technically one of the better non-blocking highly parallel solutions

      That is far from being true!

      Perl as a language is very bad suited for that task as it lacks the high level features required to do that comfortably, i.e. coroutines (aka cheap threads), continuations, generators or even some minimal syntactic sugar. Also, the lack of a proper garbage collector and the callback-programming style commonly used by non-blocking frameworks is a bad combination, prone to produce reference cycles and so, memory leaks. The programmer needs to take care of that explicitly (for instance, using curry::weak).

      Programming using callbacks is horrific, it is not for nothing that people have coined the term "Callback Hell"! It requires discipline and structuring the code artificially. Also, code (or modules) not designed for being used asynchronously can not be used freely without workarounds (for instance, forking).

      That Perl frameworks so good as Mojolicious exists, is not because of Perl being a suitable language for that. It is because the authors are really geniuses that have been able to overcome its limitations an provide a foundation that the rest of us can use easyly and even enjoy doing it!

      Hopefully, asynchronicity and the high level features cited above are available (or planed) in Perl 6 so that would be a complete different history!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1167968]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2024-04-19 09:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found