I\'m trying to port the Matrix example from Swift book to be generic.
Here\'s what I got so far:
struct Matrix { let rows: Int, columns: Int
There isn't. Swift forces you to specify the default value, just like then you handle variables and fields. The only case where Swift has a concept of default value is for optional types, where it's nil (Optional.None).
nil
Optional.None