Discussion emerged as to how we should handle constants in Swift. Should they be in enums? Structs? Globals? Some other thing we're not aware of?
Do we have any resources that have a strong drive one way or the other? I cannot find any, and until we do, I vote we should avoid ruling on it until we have a good reason to encourage / discourage one use case over the other.
This is one resource: http://www.jessesquires.com/swift-namespaced-constants/
Discussion emerged as to how we should handle constants in Swift. Should they be in enums? Structs? Globals? Some other thing we're not aware of?
Do we have any resources that have a strong drive one way or the other? I cannot find any, and until we do, I vote we should avoid ruling on it until we have a good reason to encourage / discourage one use case over the other.
This is one resource: http://www.jessesquires.com/swift-namespaced-constants/