Beginning Scala. (2015)
- Record Type:
- Book
- Title:
- Beginning Scala. (2015)
- Main Title:
- Beginning Scala
- Further Information:
- Note: Vishal Layka, David Pollak.
- Authors:
- Layka, Vishal
Pollak, David - Contents:
- At a Glance; Introduction; Chapter 1: Getting Started with Scala; Why Scala?; A Concise Language; Lightweight Syntax; Multiparadigm Language; Object-Oriented Language; Functional Language; Interoperability and Seamless Integration with Java; Language for the Java Virtual Machine; Installing Scala; Scala at the Command Line and Scala Scripts; Interactive Scala; Scala Scripts; Compiling Scala Programs; Your First Scala Programs; Hello World; Printing Some Numbers; Summary; Chapter 2: Basics of Scala; Variables; Scala Type Hierarchy; Any, AnyVal and AnyRef Types; Numeric Types. Boolean TypeChar Type; Unit type; Nothing and Null Types; Strings; String Interpolation; Functions; Function without Parameter; Function with Parameters; Arrays, Lists, Ranges, and Tuples; Arrays; Lists; Ranges; Tuples; Built-in Control Structures; If Expressions; While Loops; For Comprehension; Basic for Expression; Filters; Variable Binding; Yielding; try expressions; Match Expressions; Comments; Summary; Chapter 3: Object Orientation in Scala; Classes and Objects; Constructors; Constructors with Parameters; Parameter Declared as a val; Parameter Declared as a var. Parameter Declared as a private val or varParameter Declared without val or var; Auxiliary Constructor; Method Declaration; Code Blocks; Call-by-Name; Method Invocation; Objects; Singleton Objects; Companion Objects; Packaging and Imports; Inheritance; Extending Class; Traits; Case Classes; Value Classes; Scala versus Java versus Ruby;At a Glance; Introduction; Chapter 1: Getting Started with Scala; Why Scala?; A Concise Language; Lightweight Syntax; Multiparadigm Language; Object-Oriented Language; Functional Language; Interoperability and Seamless Integration with Java; Language for the Java Virtual Machine; Installing Scala; Scala at the Command Line and Scala Scripts; Interactive Scala; Scala Scripts; Compiling Scala Programs; Your First Scala Programs; Hello World; Printing Some Numbers; Summary; Chapter 2: Basics of Scala; Variables; Scala Type Hierarchy; Any, AnyVal and AnyRef Types; Numeric Types. Boolean TypeChar Type; Unit type; Nothing and Null Types; Strings; String Interpolation; Functions; Function without Parameter; Function with Parameters; Arrays, Lists, Ranges, and Tuples; Arrays; Lists; Ranges; Tuples; Built-in Control Structures; If Expressions; While Loops; For Comprehension; Basic for Expression; Filters; Variable Binding; Yielding; try expressions; Match Expressions; Comments; Summary; Chapter 3: Object Orientation in Scala; Classes and Objects; Constructors; Constructors with Parameters; Parameter Declared as a val; Parameter Declared as a var. Parameter Declared as a private val or varParameter Declared without val or var; Auxiliary Constructor; Method Declaration; Code Blocks; Call-by-Name; Method Invocation; Objects; Singleton Objects; Companion Objects; Packaging and Imports; Inheritance; Extending Class; Traits; Case Classes; Value Classes; Scala versus Java versus Ruby; Classes and Instances; Traits, Interfaces, and Mixins; Object, Static, and Singletons; Functions, Anonymous Inner Classes, and Lambdas/Procs; Summary; Chapter 4: Functional Programming in Scala; Expression-Oriented Programming; A Pure Function. Referential TransparencyFunction Literal/Anonymous Function; First Class Function and Higher Order Function; Function as Variable; Function as Parameter; Returning a Function; Closure; Partially Applied Function; Curried Function; Function Composition; Tail Calls and Tail Call Optimization; Call-by-Name, Call-by-Value, and General Laziness; Summary; Chapter 5: Pattern Matching; Basic Pattern Matching; Matching Any Type; Testing Data Types; Pattern Matching in Lists; Pattern Matching and Lists; Pattern Matching and Case Classes; Nested Pattern Matching in Case Classes. Pattern Matching As FunctionsObject-Oriented and Functional Tensions; Shape Abstractions; Summary; Chapter 6: Scala Collections; Scala Collection Hierarchy; package scala.collection; Sequences; Sets; Map; package scala.collection.immutable; Immutable Sequence; Immutable Set; Immutable Map; package scala.collection.mutable; Sec11; Buffer; Using Immutable Collection Classes; Vector; List[T]; Getting Functional; Transformation; Reduxio; Look Ma, No Loops; Range; Stream; Tuples; Map[K, V]; Mutable Collections; Sec25; Mutable Queue; Mutable Stack; Summary; Chapter 7: Traits; Using Traits as Mixins. … (more)
- Edition:
- Second edition
- Publisher Details:
- Berkeley, CA : Apress
- Publication Date:
- 2015
- Copyright Date:
- 2015
- Extent:
- 1 online resource (xiv, 260 pages), illustrations
- Subjects:
- 005.13/3
Computer science
Scala (Computer program language)
Computer programming
COMPUTERS -- Programming Languages -- General
Computer programming
Scala (Computer program language)
Computers -- Software Development & Engineering -- General
Software Engineering
Java (Computer program language)
Software engineering
Computers -- Programming Languages -- Java
Programming & scripting languages: general
Electronic books - Languages:
- English
- ISBNs:
- 9781484202326
1484202325
1484202333
9781484202333 - Related ISBNs:
- 9781484202333
- Notes:
- Note: Includes bibliographical references and index.
Note: Online resource; title from PDF title page (SpringerLink, viewed March 10, 2015). - Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.353437
- Ingest File:
- 01_312.xml