Programming in Scala, Third Edition 在线电子书 图书标签: Scala 编程 计算机 函数式编程 程序设计 programming 计算机科学 软件开发
发表于2025-02-16
Programming in Scala, Third Edition 在线电子书 pdf 下载 txt下载 epub 下载 mobi 下载 2025
无语了,Scala的复杂性还是比我预期的还要复杂。特性虽然可以一一列举出来,但是还可以这样组合。这本还比较中规中矩,没有涉及很灵活的用法。本来以为 case class 一般是作为聚合或者ADT,结果表达能力超过了我以前认知的ADT。本来以为模版不会像C++一样复杂,结果泛型约束比Rust还多,这点可能是因为类型擦除导致的很灵活的类型转换,Scala类库都是满屏的泛型参数。本来以为隐式转换和隐式参数是为了API更灵活,可是好多类库都大量使用,导致API调用的都很晕,不过写DSL是真的方便。最后是语法糖,特别多,不全部熟悉的话根本看不懂别人的代码,而有些糖一点也不甜,也不符合人体工学。这本书虽然也不深,但是也足够难倒我了。
评分Scala lang二刷,历时一个月多,很细致的语言Manual,从设计者的角度,系统地解答诸多对语言本身的困惑. It's time for Play & hakking!
评分第一次接触函数式编程,我理解pattern matching就是一种稍微优雅一点的写if else的方式?
评分Scala是一门非常自洽处处和谐的一门语言,作者的巧思在语言的设计之中无处不在。相比之下,Java 真的只是蓝领工人的编程工具而已。
评分快速阅读到3/4,java虽然啰嗦,scala也不会优雅很多,除了pattern matching 做不到之外,java8+没有明显短板。讲了很多scala的设计取舍,目前看来还有种矫枉过正的感觉,不知道kotlin如何。
Martin Odersky is the creator of the Scala language. He is a professor at EPFL in Lausanne, Switzerland, and a founder of Typesafe, Inc. He works on programming languages and systems, more specifically on the topic of how to combine object-oriented and functional programming. Since 2001 he has concentrated on designing, implementing, and refining Scala. Previously, he has influenced the development of Java as a co-designer of Java generics and as the original author of the current javac reference compiler. He is a fellow of the ACM.
Lex Spoon is a software engineer at Semmle, Ltd. He worked on Scala for two years as a post-doc at EPFL. He has a Ph.D. from Georgia Tech, where he worked on static analysis of dynamic languages. In addition to Scala, he has helped develop a wide variety of programming languages, including the dynamic language Smalltalk, the scientific language X10, and the logic language that powers Semmle. He and his wife live in Atlanta with two cats and a chihuahua.
Bill Venners is president of Artima, Inc., publisher of the Artima Developer website (www.artima.com), and cofounder of Escalate Software, LLC. He is author of the book, Inside the Java Virtual Machine, a programmer-oriented survey of the Java platform's architecture and internals. His popular columns in JavaWorld magazine covered Java internals, object-oriented design, and Jini. Active in the Jini Community since its inception, Bill led the Jini Community's ServiceUI project, whose ServiceUI API became the de facto standard way to associate user interfaces to Jini services. Bill is also the lead developer and designer of the ScalaTest testing framework and the Scalactic library for functional, object-oriented programming. testing tool for Scala and Java developers.
This third edition brings the entire book, up to date, adding new material to cover features appearing in Scala versions 2.9 through Scala 2.12, including:
String interpolation
Functional Futures
Implicit classes
Defining new AnyVals
Typeclasses and context bounds
The latest style recommendations
SAM support in Scala 2.12
这本书是我刚接触Scala的时候看的一本书,当时有个人翻译了前12章,我就跟着读了下来。Scala的语法和特性,这本书介绍非常的好,如果你不是Java程序员,建议首先看这本书。如果是Java程序员,最好先看《programming Scala》(少了一个in),这本书可以让Java程序员快速掌握Scala...
评分Scala是一门复杂的语言,它在java的基础上又多出了很多的特性,看起来很像语法糖? 但这些复杂的特性背后却有着内在的统一性,最终达到了强大而不失一致。从for表达式转译,到List实现,你会发现它的内核是如此简单,但在这些基础之上构建出的强大特性,是如此美妙。 有些语...
评分Scala是一门复杂的语言,它在java的基础上又多出了很多的特性,看起来很像语法糖? 但这些复杂的特性背后却有着内在的统一性,最终达到了强大而不失一致。从for表达式转译,到List实现,你会发现它的内核是如此简单,但在这些基础之上构建出的强大特性,是如此美妙。 有些语...
评分这本书是我刚接触Scala的时候看的一本书,当时有个人翻译了前12章,我就跟着读了下来。Scala的语法和特性,这本书介绍非常的好,如果你不是Java程序员,建议首先看这本书。如果是Java程序员,最好先看《programming Scala》(少了一个in),这本书可以让Java程序员快速掌握Scala...
评分这本书的确是能帮助人更好的驾驭scala,这体现在效率及最佳实践上。但里面的内容得自己亲自用过这门语言才能体会得到,所以不要一用这本书作为scala入门,而是应该在自己使用过scala后用来提高自己代码质量及效率。 这本书看完花的时间并不多,三天左右把。主要是工作的时候要...
Programming in Scala, Third Edition 在线电子书 pdf 下载 txt下载 epub 下载 mobi 下载 2025