Appendix C
Glossary
Abstract
Lacking a definition. A val, var, def, or type declaration in a class or trait can be left without a definition, making it abstract. If a class contains any members that are abstract, then it must be declared to be abstract. Abstract types, whether class or trait, can not be instantiated. Only subtypes that have defined all the abstract members can be instantiated.
Abstraction
The concept of writing code so that certain parts of what happens are not concrete until the usage point. Functionality can be abstracted by passing in functions. Types can be abstracted through subtyping or type parameters.
Actor
An actor is an object that receives messages and acts on them. It should be able to process those messages in a ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access