LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 05-25-2007, 10:25 PM   #1
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Is Perl a dying language?


I have just started to learn Perl since I read it can do a lot of things with scripting with the shell. However, I also hear that Perl is a dying programming language and that it is being replaced by other languages like Python/PHP/Ruby. Is this true, and is Perl worth learning or should I be learning other languages such as Python?
 
Old 05-25-2007, 10:34 PM   #2
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Perl is alive & well, thank you...

Talk about flame bait ;-)

No, Perl is not a "dying language" (where did you hear such a thing); Ruby, Python and PHP are all excellent languages (I say that about Ruby *despite* all the annoying hype about it); and they're only a few of scores of useful, thriving languages out there.

For whatever it's worth, the Tiobe Index is always interesting to check on periodically:

http://www.tiobe.com/tpci.htm

'Hope that helps .. PSM
 
Old 05-25-2007, 10:45 PM   #3
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
I read that Perl is dying from here:

http://www.perlmonks.com/?node_id=561229

Thanks for the Tiobe index. Perl seems to be alive and doing well, although COBOL and Foxpro seem to be on their deathbeds ...

Are there things that Perl can't do that Python can do and vice versa? I'm assuming yes?
 
Old 05-26-2007, 11:33 AM   #4
vargadanis
Member
 
Registered: Sep 2006
Posts: 248

Rep: Reputation: 30
Nope... There is nothing that cannot be solved in Perl that can be solved in Python. Vica versa is true too, I think.
 
Old 05-26-2007, 03:16 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,986
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Quote:
Originally Posted by paulsm4
Talk about flame bait ;-)

No, Perl is not a "dying language" (where did you hear such a thing); Ruby, Python and PHP are all excellent languages (I say that about Ruby *despite* all the annoying hype about it); and they're only a few of scores of useful, thriving languages out there.

For whatever it's worth, the Tiobe Index is always interesting to check on periodically:

http://www.tiobe.com/tpci.htm

'Hope that helps .. PSM
Personally I think PHP is overrated :} ... it's ugly,
incoherent and the ongoing history of security exploits
is just incredible ;}



Cheers,
Tink
 
Old 05-26-2007, 03:29 PM   #6
vxc69
Member
 
Registered: Jul 2004
Distribution: Ubuntu
Posts: 387

Rep: Reputation: 33
Quote:
Originally Posted by Tinkster
Personally I think PHP is overrated :} ... it's ugly,
incoherent and the ongoing history of security exploits
is just incredible ;}
Maybe it's time I moved to another scripting language.
 
Old 05-26-2007, 03:36 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,986
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Quote:
Originally Posted by vxc69
:eek: Maybe it's time I moved to another scripting language.
That's entirely up to you :}

If you can live with (or even enjoy) these, by all
means, stick with it. I didn't say PHP unusable. ;}


Cheers,
Tink
 
Old 05-26-2007, 03:53 PM   #8
vxc69
Member
 
Registered: Jul 2004
Distribution: Ubuntu
Posts: 387

Rep: Reputation: 33
Quote:
Originally Posted by Tinkster
That's entirely up to you :}

If you can live with (or even enjoy) these, by all
means, stick with it. I didn't say PHP unusable. ;}
Actually I just started learning Ruby. Knowing a few alternatives is probably a good idea.
 
Old 05-26-2007, 03:59 PM   #9
vxc69
Member
 
Registered: Jul 2004
Distribution: Ubuntu
Posts: 387

Rep: Reputation: 33
Quote:
Originally Posted by vxc69
Actually I just started learning Ruby. Knowing a few alternatives is probably a good idea.
I'm already beginning to see what you meant tink. There's proper uniform access in ruby compared to PHP, overall makes for easy understandable code.
 
Old 05-26-2007, 03:59 PM   #10
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
IMO, that PerlMonk (and he posted anonymously to protect himself from downvotes. bless) is annoyed that Perl 6 isn't out yet and that Perl is no longer number 1. It's an opinion and one that is based on the idea that other things are being used to write webby stuff and that this is a bad thing.

Reread it less in a doom and gloom voice and more in a whiny voice and you'll see the difference. One proves that Perl is dying. The other proves that some people are very pessimistic when things aren't always going their way.
 
Old 05-27-2007, 08:59 AM   #11
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 114Reputation: 114
I think php is just going nuts. Rather than make a coherent set of functions from which any desired functionality can be constructed, php just keeps popping up with more and more specialized functions to do specific things. The command set is currently in the many hundreds, and shows no signs of slowing its growth.
 
Old 05-27-2007, 03:39 PM   #12
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Very simply, just take look at all the terrific sites out there that have been done in PHP. Or have been done using one of many terrific PHP-based frameworks (like phpNuke, Joomla, Mambo, PHP Gallery, etc etc etc).

The breadth, quantity and quality of work enabled by PHP is very compelling evidence that PHP has obviously done *something* right!

IMHO .. PSM
 
Old 05-28-2007, 02:27 AM   #13
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,289

Rep: Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034
you may find this an interesting comparison: http://tnx.nl/php
 
Old 05-28-2007, 05:13 PM   #14
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by chrism01
you may find this an interesting comparison: http://tnx.nl/php
But it is a fairly pointless comparison. It points out different approaches between the languages but tries to make them strengths for Perl, which is debatable. I agree that the inconsistency in the naming conventions are a little annoying but the comparison of the number of functions is meaningless. It would be nice if the functions were tidied up but that would require an update script to ensure that all programs are compatible and given the pervasiveness of PHP you can't guarantee that it would be done, hence to ensure backward compatibility the inconsistencies remain. As with any language with time you get used to its quirky little charms, forget them, and learn to use the language.
 
Old 05-29-2007, 09:01 AM   #15
Dox Systems - Brian
Member
 
Registered: Nov 2006
Posts: 344

Rep: Reputation: 31
It would be nice (IMO) if Perl/PHP/Python would go away, but don't count on it anytime soon. We really need better tools than them, they're all pretty ugly hacks. However, they're still an excellent way to get the job done! :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Solaris Dying? keysorsoze Solaris / OpenSolaris 11 04-21-2007 07:24 PM
Documents to learn C language and Perl/python satimis Programming 5 03-19-2004 10:20 AM
need some advice on language choice(Perl vs PHP) coolman0stress Programming 8 11-17-2003 04:41 AM
perl(Cwd) perl(File::Basename) perl(File::Copy) perl(strict)....What are those? Baldorg Linux - Software 1 11-09-2003 08:09 PM
Dying disk???? Mux Linux - Hardware 2 10-22-2002 06:27 PM


All times are GMT -5. The time now is 04:34 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration