`

scala tips

 
阅读更多
java -verion
java -jar scala-2.8.0.final-installer.jar
The name Scala is a contraction of the words scalable language.
sudo ln -s  /home/wenbo/scala/bin/scala  /usr/bin/scala
scala -version
Note that Scala uses square brackets ([...]) for parameterized types, whereas Java uses angle brackets (<...>).
Scala allows angle brackets to be used in method names, e.g., naming a
“less than” method < is common.
Using an equals sign also
reminds us that even functions are values in Scala, which is consistent with Scala’s support of functional programming





分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics