Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scala pitfalls 系列 #8

Open
hongjiang opened this issue Jun 19, 2013 · 4 comments
Open

scala pitfalls 系列 #8

hongjiang opened this issue Jun 19, 2013 · 4 comments

Comments

@hongjiang
Copy link
Member

我总结了部分自己以前遇到的问题,主要是scala的表现形式上的。
实际上scala是“形散而神不散”,通过一些具体例子分析这些风格的背后的习俗和规则。

scala雾中风景(0): 序 http://hongjiang.info/scala-pitfalls-0/
scala雾中风景(1): lambda表达式的缩写 http://hongjiang.info/scala-pitfalls-1/
scala雾中风景(2): 小括号与花括号 http://hongjiang.info/scala-pitfalls-2/
scala雾中风景(3): for表达式的背后 http://hongjiang.info/scala-pitfalls-3/

@CrazyJvm
Copy link

that's cool, man.

@hongjiang
Copy link
Member Author

scala雾中风景(4): Unit类型 http://hongjiang.info/scala-pitfalls-4/
scala雾中风景(5): 中缀表达 http://hongjiang.info/scala-pitfalls-5/
scala雾中风景(6): 内部类与模式匹配 http://hongjiang.info/scala-pitfalls-6/

@hongjiang
Copy link
Member Author

scala雾中风景(7): val x:Int = x + 1 的问题 http://hongjiang.info/scala-pitfalls-7/

@hongjiang
Copy link
Member Author

scala雾中风景(8): 高阶函数与Unit的谜题 http://hongjiang.info/scala-pitfalls-8/
scala雾中风景(9): List(1,2,3) == Seq(1,2,3) ? http://hongjiang.info/scala-pitfalls-9/
scala雾中风景(10): 逆变点与协变点 http://hongjiang.info/scala-pitfalls-10/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants