Get Professional Scala PDF

By Bedrytski, Aliaksandr; Bogucki, Janek; Detrich, Matthew de; Lacava, Alessandro; Neil, Benjamin

ISBN-10: 1119267226

ISBN-13: 9781119267225

ISBN-10: 1119267250

ISBN-13: 9781119267256

ISBN-10: 1119267269

ISBN-13: 9781119267263

ISBN-10: 1119281318

ISBN-13: 9781119281313

Professional Scala presents skilled programmers with quickly tune insurance geared toward aiding using Scala in specialist creation functions. Skipping over the fundamentals and basics of programming, the dialogue launches without delay into sensible Scala themes with the main updated insurance of the rapidly-expanding language and similar instruments. Scala bridges the space among useful and object-oriented programming, and this booklet information that hyperlink with transparent a dialogue on either Java compatibility and the read-eval-print loop utilized in practical programming. you will study the main points of tooling for construct and static research. You’ll disguise unit trying out with ScalaTest, documentation with Scaladoc, how to deal with concurrency, and masses extra as you construct the in-demand ability set required to take advantage of Scala in a real-world creation environment.

Java-compliant with practical programming homes, Scala's acceptance is transforming into quickly—especially within the speedily increasing components of massive info and cluster computing. This booklet explains every thing specialist programmers have to commence utilizing Scala and its major instruments quick and effectively.

 Master Scala syntax, the SBT interactive construct software, and the REPL workflow

  • Explore useful layout styles, concurrency, and testing
  • Work successfully with Maven, Scaladoc, Scala.js, and more
  • Dive into the complex kind system
  • Find out approximately Scala.js

A operating wisdom of Scala places you prominent. As either the language and purposes extend, so do the possibilities for knowledgeable Scala programmers—and many positions are going unfilled. Twitter, Comcast, Netflix, and different significant agencies throughout industries are utilizing Scala on a daily basis, in a few diverse functions and capacities. Professional Scala is helping you replace your abilities speedy to begin advancing your career.

Show description

Read or Download Professional Scala PDF

Similar object-oriented software design books

Get Object-Oriented Analysis, Design and Implementation: An PDF

The second one version of this textbook comprises revisions in response to the suggestions at the first version. In a brand new bankruptcy the authors supply a concise creation to the rest of UML diagrams, adopting a similar holistic process because the first variation. utilizing a case-study-based process for offering a complete creation to the foundations of object-oriented layout, it includes:A sound footing on object-oriented thoughts comparable to periods, gadgets, interfaces, inheritance, polymorphism, dynamic linking, and so on.

New PDF release: Exam Ref 70-485: Advanced Windows Store App Development

Arrange for Microsoft examination 70-485 - and support reveal your real-world mastery of establishing home windows shop apps with C#. Designed for knowledgeable builders able to boost their prestige, examination Ref makes a speciality of the serious - considering and choice - making acumen wanted for achievement on the MCSD point.

Read e-book online Java 8 Lambdas: Functional Programming for the Masses PDF

In case you are a developer with middle Java SE abilities, this hands-on ebook takes you thru the language alterations in Java eight caused by means of the addition of lambda expressions. you will study via code examples, routines, and fluid causes how those nameless services can help you write uncomplicated, fresh, library-level code that solves enterprise difficulties.

Additional info for Professional Scala

Example text

Published by John Wiley & Sons, Inc. Map[String, String] JavaConverters, on the other hand, extends the Java and Scala collections by adding to them the asScala and asJava methods, respectively. It is newer than JavaConversions and makes the conversions explicit. As a rule of thumb, always remember that explicit is better than implicit. For this reason prefer JavaConverters to JavaConversions, unless you have a very good reason not to. Table 3-1 shows the available conversions from Scala to Java collections, while Table 3-2 shows the other way around.

After that you may iterate over it as you would do with any list containing tuples. indd 05/12/2016 Page 30 Core Collection Methods ❘ 31 Methods Returning a Value One of the most known methods returning a value is, of course, foreach(). It returns a Unit value that is a sure sign of side effects. That’s why it would be better to avoid it if a better alternative is available. foreach(println) There are a few mathematical methods that are just nice to be aware of so that you won’t reimplement them again.

Reverse // returns List(4, 3, 2, 1) Sometimes when traversing over a collection, you need to know the index of the element you are working with. The only way to do it in a functional way is to transform your collection using zipWithIndex() into a list of tuples where each element is made of a corresponding index and a value. After that you may iterate over it as you would do with any list containing tuples. indd 05/12/2016 Page 30 Core Collection Methods ❘ 31 Methods Returning a Value One of the most known methods returning a value is, of course, foreach().

Download PDF sample

Professional Scala by Bedrytski, Aliaksandr; Bogucki, Janek; Detrich, Matthew de; Lacava, Alessandro; Neil, Benjamin


by George
4.0

Rated 4.61 of 5 – based on 36 votes