Search |
||
Have you tried Scala?Yes, and I like it
18% (151 votes)
Yes, but I don't like it
5% (43 votes)
No, but I'd like to
22% (181 votes)
No, and I don't want to
16% (134 votes)
Sca-what?
38% (313 votes)
Total votes: 822
»
|
||
|
|
You could just do this in 8 lines of Java
You could just do this in 8 lines of Java
var loves = "loves".toList map( x => "roger federer maria sharapova".toList count(x == _ )) while (loves.length > 1) loves = loves zip(loves tail) map {x => x._1 + x._2} println("3 line compatibility = " + loves.head * 2 + " %")38% have never heard of Scala? Don't you guys/gals browse dzone?
more options
maybe in a few years
maybe in a few years
maybe in a few years
maybe in a few years
Pleasantly surprised
A promising JVM compatible language