LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-08-2006, 02:17 PM   #1
walterbyrd
Member
 
Registered: Apr 2004
Posts: 572

Rep: Reputation: 30
Best scripting language?


My opinions:

PHP - I like that it easily found on nearly every cheap web-hoster. I like that PHP works so well with MySQL, which is also found on nearly every cheap web-hoster. I dislike the lack of backward compatibility. Also, the syntax of the language does not seem to have much consistancy. Outside of web development, PHP does not have much to offer.

Python - a little more verbose than many other scripting languages, but that's fine with me. I like the fact that python is well structured, and readable. Python is a good general-purpose language: you can use for sys-admin tasks, database interface, web-development, etc. Sadly, python is not as readily available on cheap web-hosters. Zope and Plone are supposed to be great products, but I wonder how much they are actually used? I don't seem demand for those with Zope or Plone skills.

Perl - another great general-purpose language, that is not often found on cheap web-hosters. I vaugely remember reading something about security problems relating to putting perl on a web-host. I think you can do more, with less code, with Perl than Python, but I don't consider Perl to as readable. Knowing some Perl is a requirement for many UNIX admin jobs.

Shells: bourne, c-shell, bash, korn - for me, it's between the standard borne shell, and the bash shell. I can't understand why sunw dislikes bash. I like bourne becasue it's so standard, I think a bourne script will run on any UNIX/BSD/Linux platform - they all have to have a bourne shell. I am begining to think that for simple tasks, I should just stick with bourne, and for more complicated tasks, I should probably go with Python.

Ruby - I've never tried it. But I know that it's not readily available by most web-hosters.

All JMHO, of course. I am not an expert with any of this. I'm interested to learn what others here think.
 
Old 01-08-2006, 02:28 PM   #2
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
Ummmm, that isn't a fair comparision.

PHP and Perl are designed for different things. Most of what Perl can do, PHP can as well, but they aren't really overlapping sets of design features. PHP is also nice because it is very much like C code. Though most of the ones you listed are Cish languages.

The thing you are really looking for is what? That would be a better way of going for it. Because use can really determine which is better for you, rather than an all encompassing "Which is the best of these loosely related scripting/programming languages?"
 
Old 01-08-2006, 03:13 PM   #3
Gato Azul
Member
 
Registered: Sep 2003
Location: /dev/null
Distribution: CentOS, Ubuntu
Posts: 128

Rep: Reputation: 16
Smile

Quote:
Python - a little more verbose than many other scripting languages, but that's fine with me. I like the fact that python is well structured, and readable. Python is a good general-purpose language: you can use for sys-admin tasks, database interface, web-development, etc. Sadly, python is not as readily available on cheap web-hosters. Zope and Plone are supposed to be great products, but I wonder how much they are actually used? I don't seem demand for those with Zope or Plone skills.
Actually, I think Python's quite concise, and I've found it to be remarkably expressive especially for having only 29 keywords. I like that it has several well-written beginner tutorials that are freely available on the internet, such as A Byte of Python, Dive Into Python, and How to Think Like a Computer Scientist, Learning with Python. I particularly like the twisted framework for network-enabled apps, and Zope, Plone, and the CPS Project seem to all have quite a bit of momentum behind them (though I've just started scratching the surface of what they're capable of...so I can't comment on the quality).

That said, I've used all the other scripting languages that you've mentioned (with the notable exception of Ruby) and I think they all have their high and low points. Just like with any programming language, I really don't think that there's a "best" one, it's all about choosing the right tool for the job. I think if one puts on their tunnel-vision goggles and religiously sticks to only one language without first analyzing what language might be the best approach for the problem, then one runs the proverbial risk of "If all one has is a hammer, then all problems look like nails." Some languages conform better to solving certain problems. Related to that, some languages appeal to certain types of thinking and problem solving. My humble opinion is to choose the language that fits the need of the problem and if possible one that appeals to your thinking style (though it never hurts to expand your horizons!).

Last edited by Gato Azul; 01-08-2006 at 03:15 PM.
 
  


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
difference between shell scripting and c language gadekishore Linux - Software 5 10-17-2005 07:33 AM
Which Scripting Language? birdseye Programming 2 10-03-2005 10:54 AM
Choosing a scripting language joeljkp Programming 5 10-27-2004 05:36 PM
Seeking for a good scripting language... Frank Programming 11 01-02-2004 11:35 PM
Favorite scripting language rverlander General 8 09-02-2002 06:06 AM


All times are GMT -5. The time now is 10:06 PM.

Main Menu
Advertisement
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