Perl was a great language in its day but I just don't see a case where are new programmer is better of starting a new project in perl rather than python.
Why is perl losing its touch?
41–50 of 73 posts
Re: Why is perl losing its touch?
#42I think a better indicator would be "Perl tutorial", since that might tell you how many new people are joining.
Re: Why is perl losing its touch?
#43Earlier quoted context omitted.
Comparing 'perl language' and 'python language' shows a similar trend: http://www.google.com/trends/explore#q=perl%20language%2C%20...
Which falls prey to the fact that people don't need to disambiguate "perl" when searching, but often do for "python". Changing it to "perl" and "python language" isn't very useful either, as it so severely limits the python query as to be unusable. To be clear, I don't doubt there is a drop in Perl mindshare and usage, I just don't think the original comparison, or the alternative one you posted, really shows a relat…
Re: Why is perl losing its touch?
#44I'm not sure you are comparing apples to apples here. I would instead consider a graph like this one: http://www.google.com/trends/explore#q=%2Fm%2F05zrn%2C%20%2F... Though I am not sure how Google categorizes search terms intro specific things like a programming language versus a python snake, etc. I wasn't offered a Python language selector so I changed it to Java and added Go for fun.
Re: Why is perl losing its touch?
#45Because everything perl can do python can do better? Okay that is a though claim but perl and python fit about the same area - a dynamically typed scripting language that can take over when that shell script gets too big and all the way up to a full-blown app or website, but you are not going to win any prizes for speed - but python doesn't have all the weird crap that goes along with perl (what exactly does $#% mean…
Re: Why is perl losing its touch?
#46Re: Why is perl losing its touch?
#47Perl always will be my favorite language. Its absolutely a joy to write. What's interesting to me is that all the things that people like about JavaScript, Perl had first, and I think better (closures, first class functions). The criticisms that people had about Perl, such as that it langrage like line noise was unfortunate. Being able to tell whether something was a scalar, array, or hash by the character that prece…
Which popular language nowadays doesn't have closures? Even the so hated (by HN) PHP has had that for many years already.
So what you end up writing is more akin to:
def multiplier_maker(a):
def temp(b):
return b * a
return temp
That is because Python allows you to declare a function anyware, even inside other functions.Re: Why is perl losing its touch?
#48Re: Why is perl losing its touch?
#49Earlier quoted context omitted.
I have to agree. There's nothing you need Perl for, and nothing it specifically offers. Like if you want to do something in Wordpress you can only use PHP, no choice. If you want to code a Linux driver you have to use C. If you want nice features like awesome readability you choose Python. If you want awesome power you use some kind of Lisp or Haskell. There is not a single (well known) reason for using Perl. Even if…
No language handles regular expressions as easily as Perl. Perl's power has always been in its power to do text processing. That said, it's objects and pointers are a joke. At least Perl 5's are. As for Perl 6, I don't know. It couldn't hold my attention for 15 years.
Re: Why is perl losing its touch?
#50This one page isn't a good indicator of a language's popularity. It probably includes results referencing Monty Python, as indicated by the news article headlines, or the animal python. The TIOBE index might be a better indicator of programming popularity using internet search results: http://www.tiobe.com/index.php/content/paperinfo/tpci/index.... but that's still not perfect. You could also look at the number of jo…
http://www.google.com/trends/explore#q=perl%2C%20python%20-m...
Looks like the interest in monty python and snake pythons is pretty constant.