Glossary
- accumulator variable
-
A temporary variable used to calculate an operation on a series of values.
- addition and assignment operator
-
Adds or appends the value on its righthand side to the variable on its lefthand side:
+=
- algebraic data type
-
A type that allows the representation of a closed set of possible subtypes, such as an enumerated class.
(See also class, enumerated; class, sealed)
- application entry point
-
The starting place for a program. In Kotlin, this is the main function.
- argument
-
An input to a function.
- argument, default
-
A value assigned to a function argument to be used if no value is provided by the caller.
- argument, named
-
A function argument passed with the name of the parameter it is being sent as.
Get Kotlin Programming: The Big Nerd Ranch Guide, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.