I just spent a day learning Jython, and I kinda like it for several reasons:
1. I know Java and like quite a few of its features. You can access any Java classes (including the Swing classes, encryption, ANYTHING Java) from a Jython script.
2. While you can access all of your Java classes from Jython, your Jyton script doesn't have all of the rigid requirements of a .java file. For example, you can create multiple classes in a single Jython script.
3. You don't have to compile Jython. You can compile it if you want (compiling creates all of the appropriate .class files), but you don't have to. The fact that you can deliver an editable script with all of the power of Java is appealing to me.
4. The language is fairly easy to learn.
The sources I used for reference are:
Learning Jython: http://wiki.python.org/jython/LearningJython
Python Library Reference: http://docs.python.org/lib/lib.html
Python Reference Manual: http://docs.python.org/ref/contents.html
Python Regular Expressions: http://www.amk.ca/python/howto/regex/
Wednesday, September 26, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment