swift variable name rules code example
Example 1: how to name a variable in swift
var myVariable = "this is a mutable string"
let myConstant = "this cannot be changed"
Example 2: swift function in a variable
var pendingFunction: ((Double, Double) -> Double)