News for hackers. Stuff that matters.
Re:The power of Result types in Swift by cnowacek on Sunday June 17, 2018 @06:50PM (#17334817)
Not necessarily. The way that the enumerated type is declared, the associated types of the success and failure values are declared to be normal (not optional). This restricts nil from being passed in as the data or the error.

There are no comments on this comment yet.