I wrote an article for this month's on how to use value types to improve your code's flexibility + clarity.
objc.io/issue-16/swift
Conversation
It would be interesting to hear your thoughts on when to declare top level functions and when to declare methods on structs?
2
Replying to
Hm, my thoughts here are not yet well defined. Swift has idiosyncrasies that force one's hand here, apart from principle.
Replying to
Certainly is a conundrum. Top level functions potentially more generic/composable. Methods more obvious with code completion

