دانلود کتاب Programming Scala: Scalability = Functional Programming + Objects (Animal Guide)
by Dean Wampler
|
عنوان فارسی: برنامه نویسی اسکالا : مقیاس پذیری = برنامه نویسی تابعی + اشیاء (راهنمای حیوانات) |
دانلود کتاب
جزییات کتاب
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 ;)