Original review written by Roberto Bentivoglio, JUG Lugano www.juglugano.ch Scala is a recent programming language that mixes the object-oriented programming with the functional programming and DSLs (Domain-Specific Languages). Programming Scala is a book written by Dean Wampler, consultant, traine
Programming Scala: Scalability = Functional Programming + Objects (Animal Guide)
β Scribed by Dean Wampler, Alex Payne
- Publisher
- O'Reilly Media
- Year
- 2009
- Tongue
- English
- Leaves
- 446
- Series
- Animal Guide
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
The first few chapters are breathtakingly fast. Some of the middle chapters are kind of slow, but are still worthwhile. Scala is a fairly large language (unlike, say, Scheme or C), and the book is a fairly dense 400 pages. I found it helpful to read slowly and take notes.
As for Scala itself, I really like it! Scala is a nice mix of Java, C#, Erlang, Haskell, Ruby, and Smalltalk. You can treat it as a "better Java", or you can treat it as a more enterprise-friendly Haskell. Either way, it's exactly what I was looking for: a language with reasonable syntax, an ML type system, and a decent set of real world libraries. I know that the Haskell community is working hard in this direction as well. I think Scala stands a very good chance at being a work-friendly, programmer-friendly language.
I'm a little afraid that its type system may be too large and too complex for a lot of programmers. To be fair, I think that C++ is too large and complex for most programmers too. I'm also afraid of subsetting--i.e. the situation where every team picks a different subset of the language to use. This is very common in multiparadigmatic languages like C++. On the other hand, some multiparadigmatic languages like Python seem to avoid this problem.
Nonetheless, there's a lot to learn in Scala--covariance, contravariance, parameterized types, abstract types, self-type declarations, lazy values, by-name parameters, DSL-friendly abbreviations, path dependent types, oh my! And there's more! I ended up with 50 pages worth of notes.
I'm pretty sold on Scala. Now, all I need is a startup to hire me to write it ;)
π SIMILAR VOLUMES
The author is/was working for Twitter. They are one of the first large scale web companies to adopt Scala. All the code works and their code has taught me much about sophisticated and clean programming style. Type less and do more and how it can support concurrency and scalability is thoroughly disc
<div><p>Get up to speed on Scala--the JVM, JavaScript, and natively compiled language that offers all the benefits of functional programming, a modern object model, and an advanced type system. Packed with code examples, this comprehensive book shows you how to be productive with the language and ec
Get up to speed on Scala--the JVM, JavaScript, and natively compiled language that offers all the benefits of functional programming, a modern object model, and an advanced type system. Packed with code examples, this comprehensive book shows you how to be productive with the language and ecosystem
Scalability equal functional programming plus objects.</div>