News for hackers. Stuff that matters.
Re:The Next Step for Generics by nurettin on Thursday June 18, 2020 @05:07AM (#23561236)
My swift isn't good, but since you didn't specify a type for x, I think it should compile anyway. But if things is an empty array of T, first may return nil and x will be of type T?. If things is an array of optional, x will be of type T??

There are no comments on this comment yet.