![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
The Oblivious One
Join Date: May 2005
Location: Ontario, Canada
Posts: 630
Rep Power: 4
![]() |
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 ![]() |
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
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 |
|
|
|
|
|
#3 |
|
Expert Programmer
|
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.
|
|
|
|
|
|
#4 |
|
Professional Programmer
|
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;} |
|
|
|
|
|
#5 |
|
Expert Programmer
|
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.
|
|
|
|
|
|
#6 |
|
Programming Guru
![]() ![]() ![]() |
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." |
|
|
|
|
|
#7 |
|
Professional Programmer
|
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.
|
|
|
|
|
|
#8 | |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Quote:
|
|
|
|
|
|
|
#9 | |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 4
![]() |
Quote:
|
|
|
|
|
|
|
#10 |
|
Programming Guru
![]() ![]() ![]() |
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." |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|