[infinispan-dev] scala code in Infinispan

Galder Zamarreño galder at redhat.com
Wed Feb 6 10:14:45 EST 2013


On Feb 6, 2013, at 3:58 PM, Mircea Markus <mmarkus at redhat.com> wrote:

> On 6 Feb 2013, at 15:37, Galder Zamarreño wrote:
>>>>> I don't think that encouraging scala code is good purely for maintenance reasons. If there's a choice, it should be java. Not saying that learning a new language is not cool - but in practice people are a bit put off by maintaining Scala code. Its not only about what the writer of the code prefers as a language: it's more important what the maintainers of the code 
>>>>> will has to work with.
>>>> 
>>>> Would such maintainers also be put off by new language features (lambdas) in Java 8 when we (eventually) baseline to it?  :-)
>>> It's really NOT the same thing: any decent java programmer keeps up with all the enhancements in Java. 
>>> What I might not want to - as an ISPN programmer - is to keep up with the language enhancements in Scala. And I might need to do that because of Scala language enhancements used in ISPN.
>> 
>> ^ I wonder whether C programmers thought the same way 20 years ago.
> Personally I don't believe Scala is the next big thing as it doesn't have a "killer" feature, e.g. OOP from C -> C++ or GC from C++ -> Java. 

Scala opened my eyes to functional programming.

Whether that's a killer feature or not is debatable because functional programming has been around for tons of years, even probably more than OOP. 

Howver, from a Java developer perspective, I've seen no other programming language that has done more to promote functional programming than Scala, and that to me is a killer feature.

I'm very glad functional programming is coming to Java, but I hope they don't mess it up like they did with generics.

Even then, the functional programming bits coming to Java are just a fraction of the rest cool stuff that's present in Scala. The best example of this I've found is this:
http://www.myexpospace.com/JavaOne2012/SessionFiles/CON3470_mp4_3470_001.mp4

It's a very funny video too :D

On a more serious note, this is probably one of those arguments where the best we can do is agree to disagree. I'm slightly dissapointed with the final decision you've made, but this is open source development and live goes on…

Cheers,

> 
> Cheers,
> -- 
> Mircea Markus
> Infinispan lead (www.infinispan.org)
> 
> 
> 
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev


--
Galder Zamarreño
galder at redhat.com
twitter.com/galderz

Project Lead, Escalante
http://escalante.io

Engineer, Infinispan
http://infinispan.org




More information about the infinispan-dev mailing list