From: Brad C. <bk...@mu...> - 2002-03-24 19:42:28
|
On 24 Mar 2002 at 13:31, Ale...@di... wrote: > I love the integration of Jython and Java, and I like that I can do stuff > (e.g. using all the java libs in jython, extending ) that I otherwise > wouldn't be able to do in CPython (since I am not much into C++ -> I could > read it but I doubt I could produce anything beyond basic stuff ) , but I > didn't see the value that jython adds to a servlet. > > Would anybody give me a perspective on this ? I just returned from Novell's Brainshare, where I gave a presentation titled "Rapid Application Development with Jython". The big things I pointed out: 1. Python syntax is simpler and easier to read because there's less stuff (no braces, simpler iteration) 2. Python libraries often contain stuff not available in Java 3. I can re-use code between CPython and Jython, and this is realistic for the applications I'm developing. IE, Using Beans on Jython and ActiveX controls on Cpython/Windows. All the code is the same, just the top import is different 4. I converted several sample Novell java apps to Python. All of them converted to a smaller size, typically a 50% reduction in size. One example, I went from 5 pages of Java to 1 page of Python. 5. For admins and those IT folks who do not have much development experience, Python gets them started faster, with less overhead. 6. Interactive testing of Java components is a big win. Yes, there's interpreted Java, but it's not as efficient. JinSitu is very nice. (wish it was built-in to Jedit) Brad Clements, bk...@mu... (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements |