From: Ken A. <kan...@bb...> - 2004-05-20 21:23:12
|
At 08:53 AM 5/21/2004 +1200, Toby Allsopp wrote: >On Wed, May 19, 2004 at 10:29:57PM -0400, Timothy John Hickey wrote: >> > Some days, i just miss Common Lisp. >> >> Some day, I think a descendant of LISP and Java will be the dominant >> programming language (and maybe Jscheme will play a role in that >> evolution....) > >I must say that after discovering Lisp it's painful to have to write >Java. I don't have a lot of faith that the software industry will adopt >the features that make Lisp great any time soon though. Instead people >fritter away their time on stuff like Groovy :-( If you want a bad programming experience try this http://fishbowl.pastiche.org/2002/10/09/xml_is_not_a_programming_language The examples line are from an object oriented xml language o:xml their website http://www.o-xml.org/ says: "Welcome to the o:XML web site, home of one of the most innovative and promising new technologies available today" It has multiple inheritance, so if you strip away the syntax you might have lisp. >> > > P.S. Thanks for accepting my changes, it really makes my life a >> > > lot easier! >> >> What applications are you working on that require (or call for....) >> these changes? > >I want to be able to run arbitrary code inside an EJB that is deployed >on a running server without having to go through the whole >compile-deploy cycle. The big idea is to make our J2EE application >scriptable, but the actual application that I'm using it for is unit >testing. > >The requirement to have multiple threads executing independent Scheme >programs comes from the possibility that multiple client programs could >connect to our application and ask to run Scheme code simultaneously and >it would be bad if they interfered with each other. I guess in web applications we get around this because each page gets its own class loader and the multiple JScheme instances don't see each other. I'm suprised J2EE doesn't work that way too. JScheme is nice for testing. I have code that lets you write JUnit tests in JScheme. Maybe i should check it in. One nice thing is you can write JScheme code to generate tests for you from a pile of input - output examples. k |