What is the difference between let and var in Apple\'s Swift language?
let
var
In my understanding, it is a compiled language but it does not check
let is used for constants that can’t be modified while var is an ordinary variable
Example:
let name = “Bob” Something like name = “Jim” will throw an error since a constant can’t be modified.