Day 8 - Structs and Methods

Day 8 of 100 days of Swift course by Paul Hudson

Learning about structs and methods in Swift, easy enough because its similar to what I know from Go.

Major difference in how Swift needs to explicitly note when a function is mutating. This helps avoid runtime errors when you try to mutate a constant instance of the struct.

https://gist.github.com/bitterpilot/7ab3e1d57c16e5592a023b1b1b4f416c#file-day-8-swift