5 ms·
In case any Jython devs are reading this, I'd like to also express my delight that Jython isn't dead. In the next few months I'll be expected to recommend a pro
by kibwen 15y ago
In case any Jython devs are reading this, I'd like to also express my delight that Jython isn't dead. In the next few months I'll be expected to recommend a programming language for a large-scale enterprise project, and while Java--sad to say--seems to be the most responsible choice, I'd like to also have a JVM-compatible scripting language waiting in the wings. Glad to see that I'll have more options to evaluate when the time comes.
- mindcrime 15y agoIn the next few months I'll be expected to recommend a programming language for a large-scale enterprise project, and while Java--sad to say--seems to be the most responsible choice What about Groovy?
- kibwen 15y agoMaybe, I'm still juggling the options in my head. But when I say enterprise I mean enterprise, with all the pejorative connotations thereof. We are not a nimble startup, we are an enormous, established, very conservative company; I'm just the guy who knows all those newfangled languages. This means that, unless someone can convince me otherwise (and if you can, please, please convince me otherwise), Java seems to possess the correct combination of features: mature platform, wide adoption, familiar syntax, readily-available developers, maintainability by those other than the original authors (Java isn't necessarily great at this, but better than many), and a quality that I'll describe only as hard to really fuck things up too badly. If it wasn't for that last requirement, I'd already be trying to sell Python to my boss; as it stands, if I can't find some really awesome static analysis and verification tools for Python, Java is simply the only choice that my conscience allows me to make. (Corollary: what about .NET? Mostly I'm incredibly wary of recommending a language with only one "blessed" platform, and a proprietary one at that. My bosses are wary of this too: as a result of historical decisions we're currently locked into IBM hardware, writing million-line codebases in RPG-LE. If someone can allay my fears of vendor lock-in (at the hands of no less than Microsoft), perhaps I'll consider it.)
- bmelton 15y agoHaving come from that environment, and having been a regular here for some time, I can guess that you have probably made the right decision, and that very few here will probably agree. Also, for what it's worth, I was able to deploy full "Java" applications to the federal government that were completely Jython, and they've worked fairly well. The only concern I ever had was the one of how the customer might maintain such a codebase after our contract ended, but thankfully, that isn't a significant concern as a federal IT consultant, and super-tight deadlines often precluded Java as a viable language, only to see Java as a requirement later in the same RFP - This is where Jython (and its ilk) shine beautifully. Edit: and just so it's said, I agree with your assessment on .Net. People are happy to pay for it, as well as the Microsoft tax, but I almost never saw it as the best option in a heterogeneous environment. It is also appreciably rare to run into an entirely Microsoft infrastructure.
- kibwen 15y agoThanks for the encouragement, I sometimes wonder whether or not I really have any idea what I'm doing. :)
- mindcrime 15y agoJava seems to possess the correct combination of features: mature platform, wide adoption, familiar syntax, readily-available developers, maintainability by those other than the original authors (Java isn't necessarily great at this, but better than many), and a quality that I'll describe only as hard to really fuck things up too badly. If it wasn't for that last requirement, I'd already be trying to sell Python to my boss; as it stands, if I can't find some really awesome static analysis and verification tools for Python I think one can make a case that Groovy comes pretty damn close, and at least as close as any other "scripting language on the JVM." Platform: Well, it's the JVM. Wide Adoption: Define "wide?" But from what I can see, Groovy is pretty popular, especially Grails. There are plenty of books on Groovy/Grails, Grails meetups / users groups in many cities, an active community of developers, etc. There are even consulting companies that focus on Groovy and Grails. SpanTree in Chicago, IL come to mind. Familiar Syntax: Groovy is great in this regard, as almost any .java file can be renamed to .groovy and compiled with groovyc. Most of the syntax that's different between Java and Groovy is optional in Groovy, so you can start off writing Groovy that is very Java-like and slowly evolve to more idiomatic Groovy over time. Maintainability: No better or worse than any other dynamic language, IMO. If you have access to metaprogramming and duck-typing and what-not, there opportunity for abuse is there. But Groovy's culture does not seem to be big on a lot of BFM. hard to really fuck things up too badly - hmm... that's pretty subjective, but to that point, Groovy does have unit-testing tools, static analysis tools, etc. available. The ecosystem might not quite as rich as of that for pure Java, but I think you can find what you need to create a sane development environment.
- thebluesky 15y agoYou have many options for JVM languages: Scala, Groovy, JRuby etc. [edit] and many more: http://en.wikipedia.org/wiki/List_of_JVM_languages http://en.wikipedia.org/wiki/List_of_JVM_languages
- r4vik 15y agodon't forget Clojure