Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: A Melancholy Monkday

by kbrannen (Beadle)
on Jan 21, 2014 at 20:01 UTC ( [id://1071514]=note: print w/replies, xml ) Need Help??


in reply to A Melancholy Monkday

Others have pointed in in various ways that to help Perl's popularity, it needs to get people's attention to be used. It needs to have a way to solve people's problems better. I don't know how to do that completely, as it will require many different approaches, but I can think of 1 way.

Going back to the more popular days, I'd love to see it used more in web programming. Javascript has taken over the browser, and frankly, I don't like that (because I don't like Javascript). Why can't we have:

<script type='text/perl'> ...perl code... </script>

Yeah, there are all kinds of hurdles to overcome with that, starting with:

  • adoption by all the major browsers so it could be used
  • removing a few parts of CORE for security reasons (e.g. system and family)
  • probably need to add a few things, or else pull a few modules in automatically (e.g. CGI, Ajax, etc)
  • and probably many more...

But if we could do that, we might see a nice revival of Perl ... not to mention I could use a better language when I have to do client-side work. :)

Kevin

Replies are listed 'Best First'.
Re^2: A Melancholy Monkday
by sundialsvc4 (Abbot) on Jan 23, 2014 at 14:58 UTC

    It has always baffled me why JavaScript, of all languages that could have “won the war” (on that particular battlefield), turned out to be the one that did so ... and that it did so essentially by-default.   It is a perfectly egregious language, devoid of strong-typing and many other things, which is why whenever possible I use one of the newer “cross-platform” languages (specifically:   haXe ...), which can generate JavaScript as one of its several so-called “targets.”   (The image on that front-page really says it all.)

    Somehow, though, I just don’t see Perl having its proper place in a scenario like the one you describe, Kevin.   It’s just not what I think of Perl as being “for.”   So it’s like using a wrench to drive a nail ... we’ve all done it, and maybe we have a few bandages to show for it, but it’s just not the scenario where this language was meant to shine, and where it does shine.   All of us need to rip-apart text files, to build elaborate data-structures and forget about ’em, to use regular expressions and high-performance hash tables, and ... to use CPAN.

    CPAN, really, is where it’s all at, anyway.   The perl executable on my machine is tiny; the php executable (which compiles everything in at build-time) is many megabytes in size.   Yet the composite content of CPAN, inclusive of its many dynamically-loaded modules, is larger still ... if, when, and as-needed.   (And, to make useful use of Perl on a client, you’d have to install these same big things ...   Perl would be very uncomfortable there, and it wouldn’t really out-shine the neighbors.)

    A “popularity contest,” even if the statistical methods used are sensible and really appropriate to the occasion (vs. the simple selling of magazines ...), is for the most part just a measure of fashion, and/or of what subjects a harried business school or college figures can be stuffed into a degree-program that will sell.   When you have many tons of freight to move, and someone paying you to move it, you need ... a locomotive.

    “Programming languages:   always learn another one.   Just because.”

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2024-03-28 22:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found