Python does have a REPL, the rest depends on the libraries you use.

I had lots of fun using Python's REPL to send commands to a camera that guides 
tank operators to fire at the right thing before putting the thing together as 
a wxPython GUI and distributing it. The GUI itself generated a Python script 
that when run would repeat the operator's actions.

Not being security-certified, my company wasn't even able to know what 
programming language was to be used in the final version, so I chose Python for 
its readability and it surprised me even then. The whole thing was less than 3 
screenfuls of code.

As opposed to JavaScript or C, Python lacks the awkward moment you get when you 
ask 'ok, how do I write files?' or 'how can I create a graphical window?'. 
Batteries included.
-----Original Message-----
From: Cédric Beust    [email protected] 
Sender: [email protected]
Date: Wed, 21 Dec 2011 22:15:51 
To: <[email protected]>
Reply-To: [email protected]
Subject: Re: [The Java Posse] Re: JavasScript as a first language

On Wed, Dec 21, 2011 at 9:00 PM, Ricky Clarkson <[email protected]>wrote:

> Python's only worse than JavaScript according to your criteria in that
> you generally need to install it if you're on Windows.  Is that why
> it's a stupid choice?
>

Python has a lot of syntactic decorum that will be hard to explain to
beginners. Actually, some of it is just plain impossible to explain even to
seasoned developers (why do you have to declare a method with three
parameters yet call it with two?).

It also doesn't have this very fast feedback loop of running queries on the
web browser console and seeing your web page react instantly. The only
language I can think of that offers such a rewarding and positive feedback
loop is Logo.

-- 
Cédric

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.


-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to