[swift-evolution] Constant generic properties in mutable contexts
brent at architechies.com
Sat Jan 30 09:58:30 CST 2016
> This model would allow for more immutability in mutable contexts which ultimately leads to less bugs.
What bugs does this prevent? If the array is mutable, that means you can replace any element in it with another element, which in a value type is exactly equivalent to changing the existing value's properties.
More information about the swift-evolution