Scala学习笔记

Scala

问题列表:

  • final case class SqlQueryResult (package anorm)

String.format(“%d%d”, 1: java.lang.Integer, 2: java.lang.Integer).

141440204.jpg (728×447)

  • trait
  • AnyRef AnyVal
  • 运算符重载,省略分号和点
  • 赋值得到Unit类型
  • java.lang.XX和scala.xx基本类型会导入,但是import会覆盖Object类型
  • _下划线的各种用法: http://my.oschina.net/leejun2005/blog/405305
  • val 和 def 的区别 – call by value / call by name :http://www.jianshu.com/p/93eefcb61d4f
  • scala implicit argument (context)

http://blog.javachen.com/2015/04/20/basic-of-scala.html

https://twitter.github.io/effectivescala/index-cn.html

http://www.oschina.net/code/snippet_91557_1056

http://developer.51cto.com/art/201009/226171_all.htm

http://blog.csdn.net/ssjssh/article/details/12126477

http://www.hawstein.com/posts/databricks-scala-guide.html

https://twitter.github.io/scala_school/zh_cn/basics.html

https://issues.scala-lang.org/browse/SI-2802

https://github.com/shekhargulati/day30-play-framework-demo/blob/master/app/controllers/StoryController.java

https://segmentfault.com/a/1190000000374033

http://www.scala-china.net/discuz/forum.php?mod=viewthread&tid=169314&extra=page%3D2 系列

https://www.jetbrains.com/idea/help/getting-started-with-play-2-x.html

http://shenbai.iteye.com/blog/1491550