p*****2 发帖数: 21240 | |
t**r 发帖数: 3428 | 2 不学common lisp 或者scheme是无法 看清haskell的。 |
p*****2 发帖数: 21240 | 3 感觉现在scala没啥好书
【在 t**r 的大作中提到】 : 不学common lisp 或者scheme是无法 看清haskell的。
|
l**********n 发帖数: 8443 | 4 大牛说说怎么掌握scala的implicit?
【在 p*****2 的大作中提到】 : 感觉现在scala没啥好书
|
b***e 发帖数: 1419 | 5 http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.46.984
Read this original paper. Ignore the type theory part and look at the
examples. It makes a lot sense.
【在 l**********n 的大作中提到】 : 大牛说说怎么掌握scala的implicit?
|
l**********n 发帖数: 8443 | 6 多谢大牛
【在 b***e 的大作中提到】 : http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.46.984 : Read this original paper. Ignore the type theory part and look at the : examples. It makes a lot sense.
|
c******o 发帖数: 1277 | 7 2 DIFFERENT kinds of Implicit
1. Implicit Parameter, Great, use it, and you like it, sometime it is even
necessary.
2. Implicit Conversion, BAD, use it can give you very good feel, but send
you into traps later. Very hard to read, debug and expand. (it is hard to
see the scope that you are in at certain point of code execution, and when
you expand it, you runinto 3, 4, even 5 way Implicit Conversions, too many
combination to maintain). |
d****n 发帖数: 1637 | |
b***e 发帖数: 1419 | 9 Second this. That being said, I find implicit parameters confusing when
interfering with event handlers. It could be confusing whether the event
handler callback is in the scope of the enclosing implicit parameter or not.
Implicit parameter is a great replacement for thread local variables. It
works well with continuation passing style.
many
【在 c******o 的大作中提到】 : 2 DIFFERENT kinds of Implicit : 1. Implicit Parameter, Great, use it, and you like it, sometime it is even : necessary. : 2. Implicit Conversion, BAD, use it can give you very good feel, but send : you into traps later. Very hard to read, debug and expand. (it is hard to : see the scope that you are in at certain point of code execution, and when : you expand it, you runinto 3, 4, even 5 way Implicit Conversions, too many : combination to maintain).
|
p*****2 发帖数: 21240 | |
|
|
d****n 发帖数: 1637 | |
H****S 发帖数: 1359 | 12 Scala in depth 基本上解释得很清楚。知道怎么用还是很必要的,不然读起别人code
来象天书。
[在 loganfreeman (Now we are one!) 的大作中提到:]
:大牛说说怎么掌握scala的implicit?
:【 在 peking2 (ECMA) 的大作中提到: 】
:........... |
s*****r 发帖数: 43070 | 13 scalaz?type classes,感觉很复杂,学习资料比较少 |
d********u 发帖数: 5383 | 14 给位先搞清楚lambda calculus再学那些吧,否则就是死记硬背的命。
【在 p*****2 的大作中提到】 : 学了haskell才能看清楚scala
|
n*****3 发帖数: 1584 | 15 this book is hard to follow, at least for me; you must have
solid FP background.
code
【在 H****S 的大作中提到】 : Scala in depth 基本上解释得很清楚。知道怎么用还是很必要的,不然读起别人code : 来象天书。 : [在 loganfreeman (Now we are one!) 的大作中提到:] : :大牛说说怎么掌握scala的implicit? : :【 在 peking2 (ECMA) 的大作中提到: 】 : :...........
|
H****S 发帖数: 1359 | 16 有些bad part的例子举得不恰当。
List(1,2,3).toSet() = (List(1,2,3).toSet).apply()
这返回false不是很正常吗?
【在 d****n 的大作中提到】 : 2爷对这个怎么看? : http://www.slideshare.net/Bozho/scala-the-good-the-bad-and-the-
|