From: Adam B. <ada...@gm...> - 2016-09-18 23:48:37
|
We use it this way, but in different apps. A django web app which is CPython and BDD testing for Java applications using Robot + Jython. Adam > 在 17 Sep 2016,3:03 PM,Matt Rutherford <mjr...@gm...> 写道: > > I'd be interested in hearing the various use cases people have for python that made them opt for 'both' as opposed to purely python or Java? > > >> On 17 Sep 2016 2:42 a.m., "Jon Christopher" <jon...@gm...> wrote: >> I love jython and use it frequently, and have over 3 decades of programming experience----so not quite a newbie. >> >> Jython works like magic for the most part but the integration is so slick sometimes I forget which platform I'm on. The Java objects start looking like python objects and vice versa (which is the whole point, after all), but it can be a bit confusing---even though it all just works. >> >> So...I'm willing to cut the newbies some slack on their confusion here. >> >> -Jon >> >> >>> On Fri, Sep 16, 2016 at 6:29 PM, Adam Burke <ada...@gm...> wrote: >>> It doesn't, of course - it looks like a reaction from a beginner who hasn't learnt to contextually separate a language from the platform surrounding it. >>> >>> It might speak to the need for clearer doco entry points, though. The dominance (and usefulness) of stackoverflow for new programmers is also interesting. Because the foundation of jython predates it, there's not as much of a community around Jython there, that I've seen. >>> >>> We made the wiki closed to anon edits because of nasty spam problems, but contributors are very welcome - just ask on this mailing list. >>> >>> Adam >>> >>> > 在 17 Sep 2016,8:32 AM,Michael Chisholm <chi...@mi...> 写道: >>> > >>> > On 9/16/2016 1:13 PM, Guzdial, Mark wrote: >>> >>> Apparently a lot of new programmers are being introduced to programming through CPython ... shouldn't the poor kids be learning Jython instead? >>> >> >>> >> >>> >> Actually, many of the students at University who are learning Python are actually learning Jython. The textbook that Barbara Ericson and I wrote uses Jython: https://www.amazon.com/Introduction-Computing-Programming-Python-4th/dp/0134025547. Last I saw market analysis, it's the third most popular Python University textbook, at least in the US. If you read the reviews for the book, you'll see that lots of people are confused about Jython vs. Python. Quoting one: >>> >> >>> >> >>> >> This book is a prescribed text for a course: that's the only reason to buy it. Its biggest problem: false advertising. This is NOT a book on Python, it's about JYTHON - A Java based imitation of Python. >>> >> Why? Well, there's some pretty software, available to download, which uses the the JRE. The author chose to stick with this "easy learning environment" and basically cripple anyone wanting to write Python code for Blender, Maya, Android etc. >>> >> >>> >> You may learn to program from this text, but don't expect a trouble-free life when you get exposed to the real language. >>> >> >>> >> >>> >> The IDE that we wrote for the book, JES, is all Jython, and has been used by thousands of students for over a decade now: See http://cacm.acm.org/blogs/blog-cacm/205801-14-years-of-a-learner-centered-python-ide/fulltext >>> > >>> > So I'll just ask the obvious: CPython and Jython are supposed to be >>> > alternative implementations of the same language, Python. IronPython is >>> > another. How does a different implementation imply a different language? >>> > >>> > Andy >>> > >>> > >>> > >>> > ------------------------------------------------------------------------------ >>> > _______________________________________________ >>> > Jython-users mailing list >>> > Jyt...@li... >>> > https://lists.sourceforge.net/lists/listinfo/jython-users >>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Jython-users mailing list >>> Jyt...@li... >>> https://lists.sourceforge.net/lists/listinfo/jython-users >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Jython-users mailing list >> Jyt...@li... >> https://lists.sourceforge.net/lists/listinfo/jython-users > ------------------------------------------------------------------------------ > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users |