ePub 1474 kb. | Fb2 1424 kb. | DJVU: 1217 kb.

Scala for the Impatient epub ebook

by Cay S. Horstmann

Scala for the Impatient epub ebook

Author: Cay S. Horstmann
Category: Computer Science
Language: English
Publisher: Addison-Wesley Professional; 1 edition (March 16, 2012)
Pages: 384 pages
ISBN: 0321774094
ISBN13: 978-0321774095
Rating: 4.5
Votes: 896
Other formats: lrf azw azw lrf

The book is a joy to read.

Currently the best compact introduction to Scala -Martin Odersky. The book is a joy to read. An organization that you'll find useful as a quick reference.

Be like the sun for grace and mercy. Be like the night to cover others' faults. Be like running water for generosity. Be like death for rage and anger. Be like the Earth for modesty. Appear as you are. Be as you appear.

Scala for the Impatient book.

Scala for the Impatient. I wrote this book for impatient readers who want to start programming with Scala right away. Scala is an attractive choice; in fact, I think it is by far the most attractive choice for programmers who want to move beyond Java or C++. Scala has a concise syntax that is refreshing after the Java boilerplate. I assume you know Java, C or C++, and I won't bore you with explaining variables, loops, or classes.

I'm very much glad that I've picked "Scala for the Impatient" as my second book about Scala (after Atomic Scala by Bruce Eckel and Dianne Marsh).

He is a professor of computer science at San Jose State University and a Java Champion. I'm very much glad that I've picked "Scala for the Impatient" as my second book about Scala (after Atomic Scala by Bruce Eckel and Dianne Marsh). The book was a very pleasant and knowledgeable journey throughout the Scala land. No doubt why Martin Odersky, the author of Scala, accepted to write the Foreword. I myself wholeheartedly recommend this book.

Scala also makes it easier to leverage the full power of concurrency

Scala also makes it easier to leverage the full power of concurrency.

Scala embraces the functional programming style without abandoning the object-oriented paradigm, and it allows you to write programs more concisely than in Java.

Using Scala, you can write programs more concisely than in Java, as well as leverage the full power of concurrency.

Scala is a modern programming language for the Java Virtual Machine (JVM) that combines the best features of object-oriented and functional programming languages. Using Scala, you can write programs more concisely than in Java, as well as leverage the full power of concurrency. Since Scala runs on the JVM, it can access any Java library and is interoperable with Java frameworks.

Scala for the Impatient concisely shows developers what Scala can do and how to do it. In this book, Cay Horstmann, the principal author of the international best-selling Core Java™, offers a rapid, code-based introduction that’s completely practical. Horstmann introduces Scala concepts and techniques in “blog-sized” chunks that you can quickly master and apply. Hands-on activities guide you through well-defined stages of competency, from basic to expert. Coverage includes

Getting started quickly with Scala’s interpreter, syntax, tools, and unique idioms Mastering core language features: functions, arrays, maps, tuples, packages, imports, exception handling, and more Becoming familiar with object-oriented programming in Scala: classes, inheritance, and traits Using Scala for real-world programming tasks: working with files, regular expressions, and XML Working with higher-order functions and the powerful Scala collections library Leveraging Scala’s powerful pattern matching and case classes Creating concurrent programs with Scala actors Implementing domain-specific languages Understanding the Scala type system Applying advanced “power tools” such as annotations, implicits, and delimited continuations

Scala is rapidly reaching a tipping point that will reshape the experience of programming. This book will help object-oriented programmers build on their existing skills, allowing them to immediately construct useful applications as they gradually master advanced programming techniques.

Reviews (7)
After almost 20 years of Java, the industry seems to be ready for a reluctant revamp. Scala addresses some of the needs of the industry - combining the richness of Java with the brevity of scripting. So because Scala is fundamentally built on Java, a book that covers everything, perhaps called 'Core Scala', would be almost double the size of the author's earlier exemplary 'Core-Java' Volumes 1 & 2, combined! For this reason, most authors assume you already have a good grounding in C++ and/or Java before embarking on a book in Scala. If an author tells you otherwise (like Scala in Action states 'Most of the concepts discussed can be easily absorbed without any knowledge of Java'), he/she is probably assuming you are a genius, or is lying to push the book. Btw, just avoid the Scala In Action book until you really understand Scala. It's way too advanced for a Beginner. But then if you have a lot of experience in Scala, I am not sure why you would need to read that book.

Scala is a difficult language construct. Most Java developers I have spoken to feel that it is counter-intuitive (to Java). With this in mind, this book does an amazing job of landing the Java developer into Scala. The first 15 chapters are phenomenally well written. It shows that it was written by a person used to teaching, instead of disbursing information. The latter is the problem with the other well written, but dense, O'Reilly book 'Programming Scala'. The chapters progress methodically, with a minumum of back and forth references to chapters, which seems to be a challenge in writing Scala - concepts are so inter-mingled, that such references seem to be inevitable. You just have to learn to ignore the little 'Notes' and references. In fact, the reading was so pleasurable, I finished 15 chapters cover to cover within 2 weeks.
But then, the book takes a nose-dive. The chapters start getting dense. This is where the author should have stuck to the earlier approach of teaching. But the chapters start reading like references, with a lot of information stuffed in, almost as if the author was getting impatient to reach the end himself. When I reached 'Actors', I just had to put the book down. Googling, I found some excellent articles (danielwestheide's blogs, Alvin Alexander's snippets from his excellent 'Scala Cookbook' that I strongly recommend after getting Scala basics) that explained the Actor model so simply and so methodically.
To summarize, this is a decent book to start off with on Scala. Don't despair if the latter part seems rushed, move on to the Scala Cookbook or online blogs.

I'm very much glad that I've picked "Scala for the Impatient" as my second book about Scala (after Atomic Scala by Bruce Eckel and Dianne Marsh). The book was a very pleasant and knowledgeable journey throughout the Scala land. No doubt why Martin Odersky, the author of Scala, accepted to write the Foreword. I myself wholeheartedly recommend this book.

This is a great book for anybody who wants to get his feet wet in Scala and yet the time is just for 384 pages. Plenty of examples after every chapter makes absorbing the wisdom of Scala from the book an almost never-ending endeavour. Don't skip them so you can fully appreciate the author's efforts to teach you Scala.

I consider myself a novice to the Scala language with a quite extensive, decade-long experience in Java and a bit of functional programming in Clojure and F#. Without much practice in Scala I needed a book that would guide me as if I'd attended a Scala course. I think Scala for the Impatient did the job very well. It was written in a lively style and the level of details greatly went beyond my expectations. I'm now using the book as a reference to turn me into a Scala professional and the often I read the chapters the more details I find (I guess it may well apply to any IT book, but only now could I experience the feeling).

The book provides many (if not all) of the most interesting parts of Scala for all of the levels of Scala experience. The book uses the experience levels that were identified by Odersky to distinguish the features of Scala that would be of interest to application programmers and library designers. I didn't pay attention to the levels, though and read the book from cover to cover.

Right from Chapter 1 the author encourages to write smaller programs as a way to learn Scala. If the steps to install Scala were to serve as an indicator of how the book is written, it took the author 4 single-line bullet points and the Scala interpreter was available. That was surprisingly concise. Should you need more, you're asked to visit the book's website. The author simply decided to waste no page for a less interesting material.

Every chapter begins with an introduction to highlight the main points. This may very well be used for less experienced people who only need a gentle introduction to more advanced features of Scala. Think of the introductions as an overview of Scala and the chapters as an more in-depth material. With the experience levels it may save you a great deal of (reading) time yet keep you abreast of the features of Scala you don't need to know now, but may need later.

The author quite often compares Scala to Java and C++ (sometimes C#) and although he said in Preface "I assume you know Java, C#, or C++" some experience with the languages might help, but is certainly not required. It just let the author skip "explaining variables, loops, or classes" (page xix). Full coverage of Scala is not the goal of the book and so is convincing you to use functional paradigm over object-oriented one (or vice versa). The author simply demonstrate Scala with notes about his experience and let you pick what suits you the most.

Regarding the title - "Scala for the Impatient" - don't get fooled by the "Impatient" part. It's not that the book skims over Scala hoping that you learn it without knowing few more details or similar. Quite the contrary, but the pace is well-thought-out and steady so you may not notice you're reading stuff you would consider out of your scope. Cay Horstmann gave them so many that I think I may have understood the reason behind the "Impatient" part - I often became impatient to apply the knowledge to projects, but couldn't simply stop reading as I was worried I'd miss parts that would help me sorting out problems even better (!)

And the last but not least, the book was issued on March 06, 2012, but given the recent changes in Scala I don't think it has lost its value (despite not being up to the recent version of Scala and missed a few latest changes). The version of Scala used in this book is 2.9 as the pre-2.10 String concatenation and a note about enabling continuations in 2.9 might imply. It didn't make the book any less valuable.

I am amazed that people gave this book negative reviews for it's Kindle formatting (nothing to do with book content, and probably not the fault of the author) and the fact that it supposedly wasn't in depth. The book's title is "Scala for the impatient", what were you expecting? As someone who has programmed mostly in C++, I wanted to start using Scala, but I didn't need a "Hello World" type of book that spends a couple chapters telling me how to install Scala on my machine, I wanted to dive into the nitty gritty so I could start writing code. Given the book's title, someone in that situation is the obvious audience for the book. Also don't expect a book with the words "for the impatient" in its title to go into massive detail about the nuances of functional programming, which is a huge topic in its own right. This is about getting to the point that you can code competently, you can read Programming in Scala: A Comprehensive Step-by-Step Guide, 2nd Edition when you are ready go more in depth, and of course one of the many books on functional programming if you want to use Scala that way. Scala is a big language that you are not going to learn overnight, this book will get you started writing code relatively quickly, a necessary first step on the road to becoming a Scala guru. I for one appreciate the author's intent, this was the book I needed, and wanted.

2016-2020 © www.hotellemcasadeicervia.it
All rights reserved