News for hackers. Stuff that matters.
Re:Things I Was Wrong About: Types by valuearb on Sunday September 27, 2020 @11:45AM (#24607486)
In Swift Structs are immutable and passed by value, class objects are mutable and passed by reference.

Using a struct is infinitely preferable to a string.

There are no comments on this comment yet.