Java guy interested in Python
claird at starbase.neosoft.com
Mon Mar 5 07:42:19 CET 2001
In article <mailman.983719509.18569.python-list at python.org>,
Steve Purcell <stephen_purcell at yahoo.com> wrote:
>Kyle Wayne Kelly wrote:
>> Can anyone tell me some of the things that Python offers which are not
>> available in Java? I like Python's syntax, but what can Python do that
>> Java can not do? Any comments are helpful.
>Just try it and see.
>The 2 hours that you might spend trying to solicit and evaluate responses
>from those on this list would already be enough to get a feel for Python!
>You can whiz through the tutorial, then write a toy program or browse through
>some existing code. (e.g. standard library modules)
>(Hint: don't expect to choose between Python and other languages based on
>'features' -- you won't find legibility, sanity and brevity mentioned
>on any Java feature list.)
1. 'Notice how know one ever says, "Try Java for
two hours, and see how you like it"? 'Happens
all the time with Python. A sufficiently ad-
versarial person might try to make something
2. Python has a bunch of pleasant GUI bindings.
Java has Swing. PyGUI work tends to be fun,
portable and quick. Swing is none of those
3. Why do you get to choose a GUI binding? That's
a consequence of a more general benefit: it's
easy to embed and extend Python. Python plays
well with all kinds of C APIs. Java doesn't.
Java has JNI, barely, but who wants to use it?
Cameron Laird <claird at NeoSoft.com>
More information about the Python-list