Serving the Quantitative Finance Community

 
User avatar
ThomasJ
Topic Author
Posts: 1
Joined: October 9th, 2007, 2:39 am

Best scripting language to learn?

December 10th, 2008, 5:20 pm

Hi folks,I'm interested in adding to my skills by learning a new scripting language. I know quite of bit of PHP and a bit of VBA, but I'm thinking about either Perl, Python, or Ruby. I'm tending to lean towards Python since it seems to have the best integration with C++ and is an touted as an "agile" language, whatever that means, but I'd like to get your thoughts. What language would you learn, and what's most used in the quant world?
 
User avatar
bojan
Posts: 0
Joined: August 8th, 2008, 5:35 am

Best scripting language to learn?

December 10th, 2008, 5:48 pm

I don't much about Ruby, but between PHP, VBA, Perl and Python, I would very much say Python is the most suitable for numerical work of any kind. I've been using C++ + SWIG + Python on and off for the last six years or so and it is by far the best environment I've worked in.
 
User avatar
TheDiesel
Posts: 0
Joined: March 4th, 2007, 11:53 pm

Best scripting language to learn?

December 10th, 2008, 9:10 pm

Folks in engineering are converging on python / scipy -- python seems the most vertile of those you mentioned. What do you mean "agile?"
 
User avatar
ThomasJ
Topic Author
Posts: 1
Joined: October 9th, 2007, 2:39 am

Best scripting language to learn?

December 10th, 2008, 10:55 pm

QuoteOriginally posted by: TheDieselFolks in engineering are converging on python / scipy -- python seems the most vertile of those you mentioned. What do you mean "agile?"Google turned up thisBut I tend to think of an agile language as one that makes it easy to do Agile programming practices like refactoring and TDD. In practice, this mostly means that it supports reflection and is easy to parse so that refactoring and TDD tools can be built around it. Java might qualify, but I also tend to associate agile-related engineering practices with being "lightweight" so I feel high-level languages like Python or Ruby qualify a little more.C++ for instance would be the alternative: a language that makes it possible to write very fast and efficient code, but one that is not very agile.
 
User avatar
Rufus
Posts: 4
Joined: January 18th, 2002, 5:24 pm

Best scripting language to learn?

December 11th, 2008, 8:51 am

I would say python ahead of php, perl or vba.I've used all four and python is:- easier to read - quicker to learn- has a better and more accessible standard library plus numerical add-ons (numpy, scipy)- has a good object orientated model if you are so inclined - integrates easily with Eclipse (with pydev)- is easy to integrate with C/C++- is fun!Enjoy,Rufus
Last edited by Rufus on December 10th, 2008, 11:00 pm, edited 1 time in total.
 
User avatar
dirtydroog
Posts: 0
Joined: July 12th, 2007, 6:32 pm

Best scripting language to learn?

December 11th, 2008, 7:25 pm

I wouldn't pay much attention to the agile aspect of a language. Agile is, as far as I'm aware, only a software development process (we use it actually, it's quite good, I was skeptical at first).Saying C++ isn't agile is bollocks in reality.
 
User avatar
ThomasJ
Topic Author
Posts: 1
Joined: October 9th, 2007, 2:39 am

Best scripting language to learn?

December 11th, 2008, 7:49 pm

QuoteOriginally posted by: dirtydroogI wouldn't pay much attention to the agile aspect of a language. Agile is, as far as I'm aware, only a software development process (we use it actually, it's quite good, I was skeptical at first).Saying C++ isn't agile is bollocks in reality.What kind of Agile software process do you guys use? Scrum, XP, Crystal Clear, something else?
 
User avatar
dirtydroog
Posts: 0
Joined: July 12th, 2007, 6:32 pm

Best scripting language to learn?

December 12th, 2008, 3:43 pm

QuoteOriginally posted by: ThomasJQuoteOriginally posted by: dirtydroogI wouldn't pay much attention to the agile aspect of a language. Agile is, as far as I'm aware, only a software development process (we use it actually, it's quite good, I was skeptical at first).Saying C++ isn't agile is bollocks in reality.What kind of Agile software process do you guys use? Scrum, XP, Crystal Clear, something else?Scrum, they thought about XP but I (am some others) refused. I couldn't share a keyboard and mouse with some unhygenic beast.It works quite well, it depends largely on the honesty of your developers but it soon becomes obvious who the weakest or laziest are.Project Managers have input at only certain points in the process which is really good, we actually had to tell one guy to f**k off as he waspestering us to do stuff that wasn't allotted for in that sprint, and we were well within our rights to do so.
 
User avatar
axsaxs
Posts: 1
Joined: January 4th, 2008, 12:19 am

Best scripting language to learn?

December 16th, 2008, 11:56 am

python. it is very easy to learn and is a robust language with better OO than perl. it has a large library and user base (scipy, numpy, twistedmatrix, matplotlib, wx,...). It has a number of ways for extending in C: ctypes, swig, boost.python. mixing with R is trivial with rpy. And the ipython shell now has parallel support to enable distributed computations.
 
User avatar
rwinston
Posts: 0
Joined: February 15th, 2007, 5:48 pm

Best scripting language to learn?

December 16th, 2008, 6:58 pm

Either Ruby or Python. I personally prefer Ruby, but Python seems to have more momentum behind it at the moment.