Author Topic: What does GH think of Perl? (Is it worth the time?)  (Read 3976 times)

0 Members and 1 Guest are viewing this topic.

Offline dante

  • Thread Starter
  • Posts: 2553
What does GH think of Perl? (Is it worth the time?)
« on: Fri, 06 January 2017, 21:36:18 »
Just judging from the web/job sites everyone is balls deep into Python/R.  There is still some Ruby hanging around and judging from employment sites is about neck and neck with Perl right now.

Does Perl have a future?  If Java is the new Cobol of the business world will Python become the new Cobol of the scripting language world?

Offline noisyturtle

  • * Exalted Elder
  • Posts: 6424
  • comfortably numb
Re: What does GH think of Perl? (Is it worth the time?)
« Reply #1 on: Fri, 06 January 2017, 23:17:22 »
Perl is dead. I'd stick to Java languages, CSS, PHP, Ruby is ok. People still like Python for some ****ing reason, beyond me, but it's popular.

Offline davkol

  •  Post Editing Timeout
  • Posts: 4994
Re: What does GH think of Perl? (Is it worth the time?)
« Reply #2 on: Sat, 07 January 2017, 06:17:22 »
Quote
judging from the web/job sites
I'm sorry, but judging programming languages by job offers doesn't make sense.

Web development is very different from embedded-software development, which is completely different from data science, etc.


Quote
everyone is balls deep into Python/R
Data science folks are balls deep into Python/R. If you have Masters/PhD in statistics, there are chances you're using Python/R as a tool most of the time.

Quote
What does GH think of Perl? (Is it worth the time?)
Perl 5, or Perl 6?

If you dig into *nix systems, you'll find Perl 5 all over the place. It was a de facto standard in system administration for ages. In part thanks to its text-processing capabilities. In addition, there are tons of modules in CPAN. Speaking of that, Perl is also very popular in bioinformatics and some other fields, precisely because of existing libraries and text processing. It isn't going anywhere.

Now, Perl 6 is something completely new. Thus, it doesn't have the adoption. Only new projects may use it. That said, some people believe it's worth learning, because it potentially shows a lot about future programming languages. But you should also play with, for instance, Haskell, Smalltalk or Common Lisp for similar reasons.

Offline Giorgio

  • Posts: 1846
  • Location: Italy
Re: What does GH think of Perl? (Is it worth the time?)
« Reply #3 on: Sat, 07 January 2017, 06:27:37 »
Perl 5 still is and will always be a very widely used language. It's ideal for text manipulation and for many other tasks.
Don't be scared by the fact that it's not the most widely used. It's  been around for thirty years, and will be for many more.
It's a mature language, so tutorials and code posted on the internets  - this is one of the elements evaluated by the tiobe index - aren't as numerous as more recent languages.

http://www.tiobe.com/tiobe-index//

157005-0


Offline jal

  • Posts: 254
  • Location: Bay Area, US
  • I can't believe it's not gravy!
Re: What does GH think of Perl? (Is it worth the time?)
« Reply #5 on: Sat, 07 January 2017, 12:03:51 »
I'm a systems engineer, and still use perl quite a bit. I have been using it since Perl 4, though, and if I were in a place where picking a "next language" made sense, I probably wouldn't pick it unless I were wanting to get in to bioinformatics or something similar,  or were just interested.

It is great for text processing - really, nothing better. I use it a lot for quick and dirty one-offs, because it truly lives up to its name as the Swiss Army Chainsaw of languages and is really expressive, once you're used to it.

That said, for things that other people may end up maintaining, I tend to pick Python, just because that's where the industry is and I think it is kinda rude to leave potential language barriers to others to deal with.

If you're interested, give it a go. Once you get past the nonstandard syntax and some of the more line-noisey stuff (a fair bit of which you can ignore when you're learning), it is pretty easy, syntactically, with some fairly neat tricks. Another under-appreciated aspect of Perl is that, syntactically, it is really a hodgepodge/modernization of unix-heritage languages (C, sed, awk, parts of various shells). So it all tends to kind of make sense together, if you're in a place where you're dealing with the C/C++ part of the unix open source world, doing technical operations, etc.

Offline iri

  • Posts: 997
  • Location: England
Re: What does GH think of Perl? (Is it worth the time?)
« Reply #6 on: Mon, 16 January 2017, 19:40:09 »
It's dead.
(...)Whereas back then I wrote about the tyranny of the majority, today I'd combine that with the tyranny of the minorities. These days, you have to be careful of both. They both want to control you. The first group, by making you do the same thing over and over again. The second group is indicated by the letters I get from the Vassar girls who want me to put more women's lib in The Martian Chronicles, or from blacks who want more black people in Dandelion Wine.
I say to both bunches, Whether you're a majority or minority, bug off! To hell with anybody who wants to tell me what to write. Their society breaks down into subsections of minorities who then, in effect, burn books by banning them. All this political correctness that's rampant on campuses is b.s.

-Ray Bradbury