By Bedrytski, Aliaksandr; Bogucki, Janek; Detrich, Matthew de; Lacava, Alessandro; Neil, Benjamin
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.
Read or Download Professional Scala PDF
Similar object-oriented software design books
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.
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.
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.
- UML and the Unified Process: practical object-oriented analysis and design
- Object-Oriented Analysis and Design: Understanding System Development with UML 2.0
- SWT: A Developer's Notebook
- Object-oriented analysis and design with applications
Additional info for Professional Scala
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().
Professional Scala by Bedrytski, Aliaksandr; Bogucki, Janek; Detrich, Matthew de; Lacava, Alessandro; Neil, Benjamin