Get Programming in Scala: A comprehensive step-by-step guide PDF

By Martin Odersky, Lex Spoon, Bill Venners

ISBN-10: 0981531687

ISBN-13: 9780981531687

This publication is the authoritative educational at the Scala programming language, co-written by way of the language's clothier, Martin Odersky. This 3rd version has been up-to-date to hide new good points as much as and together with Scala model 2.12, such as:

String interpolation
Futures and concurrency, together with new tools extra in 2.12 and asynchronous trying out with Futures in ScalaTest 3.0
Wildcard types
New innovations for writing hashCode
The shut integration of Scala 2.12 and Java eight, most importantly the recent skill to exploit functionality literals to specific situations of SAM types
the newest suggestions for Scala coding style
Implicit classes
growing your personal AnyVals
The context bounds syntax for variety classes

The a lot expected 3rd version of Programming in Scala is now on hand! This ebook is the authoritative educational at the Scala programming language, co-written by way of the language's dressmaker Martin Odersky.

The Scala language, which blends object-oriented and sensible programming strategies, has been exploding in acceptance lately. This publication is a complete, step by step advisor to studying Scala. if you are a programmer desirous to do your subsequent software program undertaking in Scala, trying to extend your horizons by means of studying new recommendations, or at the moment utilizing Java and need to extend your wisdom of practical programming—or the entire above—then this e-book is for you.

Show description

Read or Download Programming in Scala: A comprehensive step-by-step guide PDF

Best programming: programming languages books

Bruce Eckel's Thinking in Java (3rd Edition) (One-Off) PDF

I do not like computing device books that deal with you're keen on a child: you must wade through chapters and chapters prior to the writer starts off hard you. now not this one. TIJ reads like a talk, strikes quick and is usually unbelievable you with attention-grabbing programming snippets. Its truly loads of enjoyable to learn and hard to place down!

New PDF release: SCJP 100 Success Secrets: Success with The Sun Certified

Addresses the head a hundred consultancy & schooling discussion board questions, with assistance & good fortune components on investigating, comparing, achieving & capitalising on solar qualified Java Programmer (SCJP) IT certification.

Extra resources for Programming in Scala: A comprehensive step-by-step guide

Example text

RNA strands class, second version. . . . . . RNA strands class, final version. . . . . . RNA companion object—final version. . . . . An implementation of prefix maps with Patricia tries. The companion object for prefix maps. . . . . . . . . . . . . . . . . . . . . 7 The EMail string extractor object. . . . . The Twice string extractor object. . . . . The UpperCase string extractor object. . . . The Domain string extractor object. . . . . The ExpandedEMail extractor object.

The SimpleDatabase object as a Database subclass. . The SimpleBrowser object as a Browser subclass. . . A student database and browser. . . . . . . . A trait for food categories. . . . . . . . . . A Database class that mixes in the FoodCategories trait. A SimpleDatabase object composed solely of mixins. . A SimpleFoods trait. . . . . . . . . . . 661 662 662 663 664 665 666 666 667 667 668 668 668 668 . . . . . . . 15 A SimpleRecipes trait with a self type.

While there is not a precise definition of what object-oriented means, there is clearly something about objects that appeals to programmers. In principle, the motivation for object-oriented programming is very simple: all but the most trivial programs need some sort of structure. The most straightforward way to do this is to put data and operations into some form of containers. The great idea of object-oriented programming is to make these containers fully general, so that they can contain operations as well as data, and that they are themselves values that can be stored in other containers, or passed as parameters to operations.

Download PDF sample

Programming in Scala: A comprehensive step-by-step guide by Martin Odersky, Lex Spoon, Bill Venners


by Jeff
4.1

Rated 4.81 of 5 – based on 13 votes