Swift Vocabulary
Type Inference
When you don't explicitly indicate what type a variable has, Swift will try to
infer the type from the available information. For example,
var diameter = 4; // Swift infers integer because no decimal point
var radius = 2.0; // Swift infers Double because there is decimal point
Intro Lesson 9
Back
First
Random
Next