Glossary

addition and assignment operator

Adds or appends the value on its righthand side to the element 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 assigned a name that can be used by the caller.

arrow operator

Operator used in lambda expressions to separate parameters from the function body, in when expressions ...

Get Kotlin Programming: The Big Nerd Ranch Guide, First Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.