LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 10-03-2005, 06:54 AM   #1
birdseye
Member
 
Registered: Mar 2005
Location: Wales, UK
Distribution: Gentoo, Debian, Ubuntu
Posts: 60

Rep: Reputation: 15
Which Scripting Language?


Hi,

I want to learn a scripting language. I have experience with c and c++, and have tried to learn a bit of perl. However, I get the impression that perl is a dumbed down version of c, and isn't any advantage over c. Am I getting the wrong end of the stick?

The reasons I am learning it are a) to expand my programming repetoir and b) to learn a language to help with admin tasks on my many computers.

Does anyone have any suggestions? Should I stay with shell scripting, or should I learn something like python, etc?

Thanks for any help,

Rhys
 
Old 10-03-2005, 08:10 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you're very wrong mate. perl is scarily powerful, and not related to c in any way. it's all horses for courses really, with perl being designed for text manipulation originally, something c generally sucks at.

This kind of question gets asked an awful lot. many people say python, personally i say perl because it is more traditional in it's structure. python can look strange, and is even heavily dependent on whitespace and things, which .. ughh ...
 
Old 10-03-2005, 09:54 AM   #3
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
there are different tools for different jobs.

If I need to byte-level or very efficient tasks I use C

simple text stuff, sed

Complicated text processing, or CGI I use perl.

general everyday stuff korn shell.

stuf with a GUI, tcl/tk

really clever stuff, lisp of course!
 
  


Reply



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 06:33 AM
How does a client side scripting language get executed ?? tuxfood Linux - Software 3 10-06-2005 08:26 PM
Choosing a scripting language joeljkp Programming 5 10-27-2004 04:36 PM
Seeking for a good scripting language... Frank Programming 11 01-02-2004 10:35 PM
Favorite scripting language rverlander General 8 09-02-2002 05:06 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:32 AM.

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
Open Source Consulting | Domain Registration