
Author:David Pollak
Year:2009
ISBN:978-1-4302-1989-7
This post is a part of „Book for Review Program”. For details look this page [PL].
David Pollak is founder of Lift web framework. So when I start to read book about scala written by him I knew that this book is good. First chapters (1-3) is about Scala language – syntax, basics, usage and some sort of practical APIs (XML, I/O). Everything is described clearly and is easy to understand. Author show the main difference between scala and java in collection API and differences in „methods of thinking”. In next three chapters (4-6) we can take a trip in „Scala the Functional language” and discover some main differences between scala and java like pattern matching and actors (concurrency). This part of book is nice for people who like java but see some disadvantages.
Chapters 7 and 8 rapes your java-mind, cause an explosion of your brain and at last say „you are just java scout, boy”. This part of book is very hard to read and understand. David Pollak try to describe things that are completely anti-java like extending many classes (traits), covariance, contra-variance and scala generics, creating class structure or creating DSL parsers.
Last chapter is about tools and know-how to introduce scala to organizations.
At the end i would like to thank David Pollak because his book is the best scala tutorial I have ever read. I start to understand basics of scala and some core concepts of JVM. Great book.
Rozdziały 7 o 8 to wg mnie skok na zbyt głęboką wodę jak na książkę dla początkujących. Wcześniej czyta się ją rewelacyjnie, człowiek wszystko ładnie ogarnia, aż tu nagle dochodzi do rozdziału 7 i czuje się jak idiota 🙂 Wg mnie Pan David chciał pod koniec za dużo na raz pokazać i zafundował nam przez to listingi kodu na pół rozdziału. Listingi średnio zrozumiałe dla osób nieznających Scali IMHO 🙂 .
@Henryk, przepraszam, ze dopiero teraz wszedł twój komentarz, ale nie wiadomo czemu wylądowałeś w spamie. W każdym bądź razie… rozdział 7 i wyżej jest rzeczywiście dużym „brainfuckiem”, ale jak już zauważyłem kilka lat temu tak jest z większością technologii. Łatwo, łatwo, łatwo… jeb… okazuje się, że trzeba ogarniać kilka innych tematów dookoła by przeskoczyć pewien próg.