1/56
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
constant
stays the same after first declaration; swift syntax (let)
variable
value can be changed after declaration; swift syntax (var)
implicit
implied, but not plainly expressed
explicit
clearly stated, leaving no room for doubt
type inference
compiler infers data type of non explicit variables/constants by initial value
string interpolation
convert value of other data types to a string by using a backslash and parentheses
closed range operator
used to define a range that includes start and end values ( … )
half-open range operator
used to define a range that does not include the upper value ( ..< )
wild card
used in a for loop definition when knowledge of the current iteration is not needed inside the loop body ( _ )
module
single unit of code distribution, like a framework or application
nil-coalescing
used to provide a default value when an optional is nil (??)