Good script lang. to learn in parallell to C++?

Hi.

I am currently learning C++ during free time. But I feel like I probably should learn a script language too. What script languages are good if you want them to work together/in parallell with C++ programs?

I have heard of Ruby, Perl and Python. I am a bit skectical to Python atm. .
Because I have a severe eye condition and I have read/heard that Python can be hard to access for blind/visually impaired people, because it's very dependent on it's indentation. What about Ruby and Perl? Which one should I choose? Any tips?

I have previous basic expereience from Java, QBasic, Haskell, HTML, CSS, PHP, C and C++.
Last edited on
I use lua for scripting in parallel to C++. I have a utility written with Qt (C++) which interprets lua. When I run my own applications, I create an interface. This utility is configured to access this interface and then I can drive my code directly with Lua. I use that for regression testing and unit testing.
Thanks for your tip :).

I read more about Ruby, Perl and Python and Python seems more popular these days.

But since you mentioned Lua, what is Python good at and what it Lua good at if you compare them? Although I mentioned the strict indentation in Python there are tools apparently that can help you with that.

When would a developer prefer Python before Lua?
Last edited on
If you want to learn the most popular (as in most used, not most loved) scripting language, then that's JavaScript.

It doesn't have the best reputation, but apparently it's not as bad as many assume it to be. At least according to Doug Crockford (I only recently watched his Techtalk.)

I've come across JavaScript mainly when writing brower plug-ins. And it's mainly in that context that you'd prefer it over other scripting languages.

I use Python for utility scripts, etc; mainly because it's what's most often used in the places I've worked. And I do encounter VBScript from time to time, too :-( But Ruby, Perl, Lua, ... have hardly made an appearance in my neck of the woods.

Andy

JavaScript: The Good Parts
http://www.youtube.com/watch?v=hQVTIJBZook
(Google Tech Talks from Feb 2009)
Last edited on
Ok thanks for the help :). I will take a closer look at both JavaScript and Python.
Topic archived. No new replies allowed.