Scala examples

Facebook Twitter

Simply Scala

This glossary has been reprinted with permission from the book Programming in Scala by Martin Odersky, Lex Spoon, and Bill Venners. algebraic data type A type defined by providing several alternatives, each of which comes with its own constructor. It usually comes with a way to decompose the type through pattern matching. The concept is found in specification languages and functional programming languages. Simply Scala
Code Examples
A Tour of Scala Scala is a modern multi-paradigm programming language designed to express common programming patterns in a concise, elegant, and type-safe way. It smoothly integrates features of object-oriented and functional languages. Scala is object-oriented Scala is a pure object-oriented language in the sense that every value is an object. Types and behavior of objects are described by classes and traits. A Tour of Scala