DevGauge
Published in

DevGauge

If you aren’t careful, you can mutate constants!

Using Structs over Classes in Swift Isn’t as Safe as You Think It is

Good discipline should be more of a concern than using a value type over a reference type

If all you’re doing is using structs over classes, your code isn’t necessarily safe

If you’ve been doing Swift Development for any length of time, I’m sure you’ve heard that…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store