News for hackers. Stuff that matters.
Re:Java 7: Oracle pushes a first version of closures by pivo on Monday May 31, 2010 @12:01PM (#1392776)
You mean "blub", right? Anyway, as someone stuck programming in Java because our customers require it I would welcome this language addition.
Re:Java 7: Oracle pushes a first version of closures by wglb on Monday May 31, 2010 @12:20PM (#1392840)
Out of curiosity, how flexible are your customers to updating java versions?

And for that matter, are they receptive to Clojure?

Re:Java 7: Oracle pushes a first version of closures by pivo on Monday May 31, 2010 @01:12PM (#1392961)
I'd say our customers would think we're slow to support new Java versions. But I'm also pretty confident that they've never heard of Clojure and probably not even Scala. I added support for Groovy a few years ago and it's received very little attention despite the fact that it often makes it possible to apply code changes immediately and avoid the long (2-3 minute) application restart time.

Our customers are mostly fortune 1000 companies, the people we deal with are not very technical and almost always outsource all of their development work overseas. They're also very good at finding outsourced developers with minimal skill sets. So a language with a smaller pool of developers would probably be seen as a negative.

Re:Java 7: Oracle pushes a first version of closures by morphir on Monday May 31, 2010 @12:37PM (#1392886)
usually its the jvm that is the dependency. So I don't see why you could not program in clojure or scala.
Re:Java 7: Oracle pushes a first version of closures by pivo on Monday May 31, 2010 @01:26PM (#1392985)
We could but it would be difficult. Our product requires that our customers subclass our Java classes to implement their custom business logic, and sometimes it's necessary to provide the source to our base classes for reference. Sending a customer some Clojure code and expecting a Java developer to know how to handle that doesn't seem reasonable.
Re:Java 7: Oracle pushes a first version of closures by morphir on Tuesday June 01, 2010 @06:18PM (#1396325)
one can also ask the question whether its you that want to continue coding in java, because you think in java, or because you want to avoid learning something new. But yeah, if the customer don't grasp Lisp, you are pretty much settled with java.
Re:Java 7: Oracle pushes a first version of closures by pivo on Wednesday June 02, 2010 @02:45PM (#1398930)
If one were to ask me that question I would respond by saying that I have been programming in Common Lisp for many years and would gladly switch to any lisp, especially Clojure, if it made sense for our business.
Re:Java 7: Oracle pushes a first version of closures by sigzero on Monday May 31, 2010 @01:19PM (#1392975)
You could but the talent pool is much smaller for both of those and the customer might not like that.
Re:Java 7: Oracle pushes a first version of closures by morphir on Monday May 31, 2010 @12:28PM (#1392862)
yeah, I suppose I do :)