Sydney January Python Meetup

1 AM December 17, 2004

I’m organising a meetup of Sydney Python people next January 13th, a Thursday. It will just be an informal thing with people giving a five minute show and tell, if they feel so inclined. All the details are on the Sydney Python page of meetup.com.

See you there.

PS: Simon, you’re invited, too. I know it’s a long way, but it’s only for a few hours.

By alang | # | Comments (1)
(Posted to Python)

ECMAScript is our Groovy alternative

12 AM December 17, 2004

While Groovy gets its act together, the Rhino Javascript/ECMAScript interpreter seems a reasonable alternative in some situations.

For example, the project I’m working on requires that the IT department be able to change certain business rules while the application is running. A bespoke administration interface would cost too much, and a rules engine would be too complex. Letting the user specify the rules in a Groovy might have been a good choice, but Groovy is just not ready to be used in a system that will still be maintained in ten year’s time.

Enter Javascript. It has a C-inspired syntax that Java programmers feel comfortable with, it can be loaded and re-interpreted each time the rules change, and is quite well integrated with Java. A perfect replacement for groovy in this case.

Beyond tiny, user-written scripts, Javascript has many of the features that make Groovy attractive, including latent typing and closures. Javascript also has a sophisticated, prototype-based object model that could be used to develop the kind of code that is particularly hairy in Java – marshalling and unmarshalling streams of bytes, for instance.

So it’s Javascript for the time being for us here. Hopefully, in twelve or eighteen months, Groovy will hava a solid specification and a production ready implementation, and we’ll switch.

By alang | # | Comments (3)
(Posted to javablogs and Java)
© 2003-2006 Alan Green