- Paperback: 776 pages
- Publisher: Artima Inc; 1St Edition edition (November 26, 2008)
- Language: English
- ISBN-10: 0981531601
- ISBN-13: 978-0981531601
- Product Dimensions: 1.5 x 7 x 9.5 inches
- Shipping Weight: 2.7 pounds
- Average Customer Review: 4.6 out of 5 stars See all reviews (37 customer reviews)
- Amazon Best Sellers Rank: #854,847 in Books (See Top 100 in Books)
Enter your mobile number below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
Getting the download link through email is temporarily not available. Please check back later.
To get the free app, enter your mobile phone number.
Programming in Scala: A Comprehensive Step-by-step Guide Paperback – November 26, 2008
There is a newer edition of this item:
Best Books of the Year So Far in fiction, nonfiction, mysteries, children's books, and much more.
Customers Who Bought This Item Also Bought
Top Customer Reviews
First, the prose is clear and gentle, finding the right medium between terseness and belaboring hard points. The authors reveal motivations for many aspects of the language, so that one cultivates a feel for Scala as one progresses through the text. The reader's surprise decreases the farther one gets, as a sense of taste is acquired.
Second, the ordering of the topics is well thought out. This makes the book cohesive, and it's more useful than trying to build one's own curriculum from web materials. For example, pattern matching is explained before XML parsing. This allows the reader to grok the rich support for XML found in Scala. As another example, the "for" expression is covered after exposure to higher order methods. This illustrates their equivalence, and enhances one's understanding of both. As a third example, functional objects are introduced before exploring stateful objects. This gives those readers more familiar with imperative programming early exposure to functional concepts, and sets the stage for appreciating the real power of Scala.
Third, Scala's features are explored with meaningful examples, or mini case studies. Functional class design is introduced with a Rational number class. OO class design is explored with a two dimensional layout library. A circuit simulation API demonstrates writing DSLs. Abstract types are illustrated with a Currency example.Read more ›
This book is completely different: right from the start you will notice that it is carefully written and comprehensive. Sections naturally flow from one to another, and every concept is introduced good examples and rationale for why Scala uses a concept in a particular way. For example: Scala Ints are compiled as primitive types where possible, but they can also be treated as class instances (e.g. by invoking instance methods). The book not only explains that this is the case, but also how it works, and how it differs from auto-boxing in Java. Such in-depth coverage is provided for all major Scala language constructs.
Besides the covering language concepts, there are also some chapters discussing library functionality, such as containers, actors, building parsers, XML, and Swing programming. The book concludes with a hands-on chapter, where a simple spreadsheet application is implemented.
I wouldn't recommend this book to newcomers to programming, but anyone interested in functional programming or a user of the Java programming language should at least give it a serious consideration. It's a very interesting read that may widen your horizons and show that a good blend of object-oriented and functional programming does indeed exist. Additionally, it is poised to become the standard work for learning Scala.
With the stairway book, that gap has been bridged.
The book is aimed at the experienced programmer in 'C' derived imperative languages, with at least some familiarity with the Java(tm) language, and ideally some notion about functional programming techniques -- it is not by any stretch of the imagination a "my first programming book". For the intended audience, it is an extremely effective step-by-step guide to the features, and the syntax, of the language (this is a great contrast with e.g. Foundations of F# (Expert's Voice in .Net), a book aimed at a similar subject and audience, but which expends very little effort towards separating the accidents of the particular example from the generic syntax). While I am by no means yet fluent in the language, I feel that when I'm using it for hobby coding that I'm not just groping in the dark, but instead have a solid guide and reference to lead me.
Most Recent Customer Reviews
One of the better books on Scala. Hidden little Gen of a language, since it runs on the Java Virtual Machines and you can mix and match java code along side it.Published 4 months ago by Mister E2
This is a very readable and comprehensive look at Scala, and is worth buying for any serious student of Scala. Read morePublished 6 months ago by E. Mei Douthitt
I picked this up when considering a job doing Scala.
I did not really read much into the language, and I never took the job anyway. Read more
I don't go for hype, and when I saw this book, I figured it couldn't be that good -- it was just hype. So, I purchased another book. Read morePublished on February 14, 2014 by Thomas Adkins
Programming in Scala gently but comprehensively introduces the reader to Scala. If you follow studiously, you'll be a surprisingly skilled Scala programmer by the end (which is to... Read morePublished on November 20, 2012 by Rex Kerr
This book is a double edged sword in a bad way. It bores you with syntactical minutiae for chapters, and gives you nothing to hold on to to demonstrate the power of Scala early... Read morePublished on November 16, 2011 by Alex Turner
I feel privileged for having Martin as my instructor for Scala and functional programming. These sessions gave me the needed clarity to appreciate Scala. Read morePublished on March 13, 2011 by Ramin