1.

Record Nr.

UNINA9910299278603321

Autore

Hunt John

Titolo

A Beginner's Guide to Scala, Object Orientation and Functional Programming / / by John Hunt

Pubbl/distr/stampa

Cham : , : Springer International Publishing : , : Imprint : Springer, , 2018

ISBN

3-319-75771-7

Edizione

[2nd ed. 2018.]

Descrizione fisica

1 online resource (XIX, 531 p.)

Disciplina

005.11

Soggetti

Computer programming

Programming languages (Electronic computers)

Programming Techniques

Programming Languages, Compilers, Interpreters

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Nota di contenuto

Elements of Object Orientation -- Why Object Orientation? -- Object Orientation Systems -- Functional Programming -- Scala Background -- Little Scala -- Scala Building Blocks -- Scala Classes -- Scala Methods -- Packages and Encapsulation -- Building A Class -- Classes and Inherit -- Objects and Instances -- Value Classes -- Constructs -- Control -- Traits -- Further Traits -- Arrays -- Tuples -- Functional Programming in Scala -- Higher Order Functions -- Partial Application -- Collections -- List and Map Collections -- Immutable and Mutable Collection Packages -- Type Parameterization -- Further Constructs -- Exception Handling -- Akka Actors -- Further Akka Actors -- Scala and JDBC Database -- Scala Style Database Access -- Slick -- Testing -- Scala Testing -- Play Framework -- Restful Services -- Scalaz -- Scala Swing -- Scala Swing Reactors -- Build Tools -- Java Interop. .

Sommario/riassunto

Scala is now an established programming language developed by Martin Oderskey and his team at the EPFL. The name Scala is derived from Sca(lable) La(nguage). Scala is a multi-paradigm language, incorporating object oriented approaches with functional programming. Although some familiarity with standard computing concepts is assumed (such as the idea of compiling a program and executing this compiled from etc.) and with basic procedural language concepts (such



as variables and allocation of values to these variables) the early chapters of the book do not assume any familiarity with object orientation nor with functional programming These chapters also step through other concepts with which the reader may not be familiar (such as list processing). From this background, the book provides a practical introduction to both object and functional approaches using Scala. These concepts are introduced through practical experience taking the reader beyond the level of the language syntax to the philosophy and practice of object oriented development and functional programming. Students and those actively involved in the software industry will find this comprehensive introduction to Scala invaluable.