Comment Comment by magicalhippo Right, but my point is, the code which would raise an error because the pointer is nil now raises an error because the Optional is not set.Is there really that much of a difference between those cases?I agree though that in an interface, Optional conveys a more explicit meaning than something pointer-like, which is always a good thing. parent magicalhippo 5 years ago
Is there really that much of a difference between those cases?
I agree though that in an interface, Optional conveys a more explicit meaning than something pointer-like, which is always a good thing.