Different ways to use Swift variables and constants