Scala Flashcards
Scala was designed to connect two programming paradigms, which were ANSWER.
object-oriented and functional
Another design goal for Scala was to have its programs easily interoperate with those written in ANSWER.
Java
Scala is ANSWER typed.
statically
Scala uses few type declarations because its compiler does ANSWER.
type inferencing
The main concurrency method used in Scala is ANSWER.
actors
In Scala, to indicate that a variable is immutable, you introduce it with the ANSWER keyword.
val
In Scala, to indicate that a variable is mutable, you introduce it with the ANSWER keyword.
var
In Scala, if I want to redefine a method that is defined in my parent class, I indicate this by using the keyword ANSWER.
override
The Scala feature closest to a Ruby mixin is the ANSWER.
trait
In Scala, the type that every type is a subtype of is called ANSWER.
Any
In Scala, the type that is a subtype of every type is called ANSWER.
Nothing
Many programming languages represent internal constants for types like strings, floats, and integers. Scala has the unusual distinction of having an internal constant representation for the type ANSWER, which is normally viewed as a format external to a program.
XML
The ! in Scala is used to ANSWER.
Send a message to an actor
In the chapter on Scala, we get the following interesting quote: ANSWER is the most important thing you can do to improve code design for concurrency.
Immutability