Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 13th, 2005, 7:04 PM   #1
Jessehk
The Oblivious One
 
Jessehk's Avatar
 
Join Date: May 2005
Location: Ontario, Canada
Posts: 630
Rep Power: 4 Jessehk is on a distinguished road
Which Scripting language?

I have read multiple times that it is good to know one of the "big" languages (like C++, Java, C#, etc), and a scripting language.

When I finish my C++ book ( about another 400 pages ), I would like to take the time to learn a scripting language.

So, can anyone suggest a language ( I imagine python will come up more then once ), and a good book on it?

Thanks
Jessehk is offline   Reply With Quote
Old Sep 13th, 2005, 7:45 PM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Sure, you're gonna hear Python. I recommend PHP. Get an AMP or WAMP setup and go with it. The PHP manual is very good, and a lot of same-named functions come over from C/C++. They differ, as it's a less strongly typed language, but they give you a leg up.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Sep 13th, 2005, 8:16 PM   #3
thechristelegacy
Expert Programmer
 
thechristelegacy's Avatar
 
Join Date: Jul 2004
Location: Somerset, Pa
Posts: 707
Rep Power: 5 thechristelegacy is on a distinguished road
Send a message via AIM to thechristelegacy Send a message via MSN to thechristelegacy
As DaWei stated, you will hear Python. I'm going to say that just because I'm religious about Python. It was my first language, and it is my favorite scripting language.
thechristelegacy is offline   Reply With Quote
Old Sep 13th, 2005, 11:38 PM   #4
iignotus
Professional Programmer
 
iignotus's Avatar
 
Join Date: Apr 2005
Location: Nowhere Special
Posts: 466
Rep Power: 4 iignotus is on a distinguished road
Send a message via AIM to iignotus
Well, I like perl -- but I'm one of few these days. You will, certainly, hear Python everywhere you go by at least a considerable minority, but perl was my first language and the current incarnation is ridiculously powerful if you know how to use it (not always easy).

In the end, they're all tools that can do the same job. I like perl, most people nowadays like python. You can't really go wrong either way.

The official Programming Perl book from O'Reilly did the trick for me.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[ 
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
iignotus is offline   Reply With Quote
Old Sep 14th, 2005, 12:49 AM   #5
coldDeath
Expert Programmer
 
coldDeath's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 862
Rep Power: 3 coldDeath is on a distinguished road
Send a message via AIM to coldDeath Send a message via Yahoo to coldDeath
Python.

Really, really good online documentation, written by Guido von Rosssum himself.
Here is the tutorial : http://docs.python.org/tut/tut.html

Also Python has loads of extensions: Numpy, wxPython, pygame, pyGTK, pyQT, pyOpenGL etc.

Python is so easy to pick up once you get started, you will find it a lot easier than C++, and after a little while you will be better in Python than C++.
(But still should kow C++!)

http://www.linuxjournal.com/article/3882
__________________
Join us at #programmingforums @ irc.freenode.net!

My software never has bugs. It just develops random features.
coldDeath is offline   Reply With Quote
Old Sep 14th, 2005, 8:54 AM   #6
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
I have more Perl experience than Python... But what I have seen in the past and what is currently going on... or so it seems... is that Python is taking the scripting languages by storm.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Sep 14th, 2005, 9:49 AM   #7
Dizzutch
Professional Programmer
 
Dizzutch's Avatar
 
Join Date: Dec 2004
Location: Worcester, MA
Posts: 441
Rep Power: 4 Dizzutch is on a distinguished road
Send a message via ICQ to Dizzutch Send a message via AIM to Dizzutch Send a message via MSN to Dizzutch Send a message via Yahoo to Dizzutch
Bash, perl, python, ruby, php, brainf*ck, matlab, applescript, once you know one, you know 'm all, all you need is a good guide to the syntax. As I always say, it's about knowing how to program, then you can apply that knowledge to any language.
__________________
naked pictures of you | PFO F@H stats
Dizzutch is offline   Reply With Quote
Old Sep 14th, 2005, 10:04 AM   #8
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Quote:
Originally Posted by Dizzutch
As I always say, it's about knowing how to program, then you can apply that knowledge to any language.
Unless you're learning Prolog. :p
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Sep 14th, 2005, 10:27 AM   #9
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 4 Arevos is on a distinguished road
Quote:
Originally Posted by Dizzutch
Bash, perl, python, ruby, php, brainf*ck, matlab, applescript, once you know one, you know 'm all, all you need is a good guide to the syntax. As I always say, it's about knowing how to program, then you can apply that knowledge to any language.
It's worth mentioning that functional and logical based languages work need a slightly different approach to procedual languages. If you're good at programming in procedual languages, that doesn't necessarily carry over to functional or logical programming.
Arevos is offline   Reply With Quote
Old Sep 14th, 2005, 10:32 AM   #10
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Its all about the mindset, you learn how to program in general... you will have little difficulty with other languages... the syntax is only a technicality.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:49 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC