Deciding between ‘let’ and ‘var’ for Swift struct properties
When declaring a Swift property, we use either the let or var keyword depending on whether we want our new property to be read-only once assigned through the enclosing type’s initializer, or whether we want to allow the property to be mutated and re-assigned multiple times. However, that’s not the only difference between using let…