Mutating Function Parameters in Swift
In the Swift programing language, there are two ways to declare a variable; You can declare a variable as immutable using a syntax like let x = 1.0 or you can declare it mutable using var x = 1.0. There are some weirdnesses to the mutability of objects…
Continue reading