News for hackers. Stuff that matters.
Re:Swift on Windows by Tainnor on Thursday September 24, 2020 @04:17AM (#24576480)
At the very least extensions of structural types, which I believe requires also variadic generics. Tuples are completely broken in Swift due to the fact that they're not Equatable - you can compare single tuples, since == is implemented for them, but you can't compare arrays of tuples. This makes some kinds of tests incredibly awkward to write and had lead my team to move away from tuples to nominal types a number of times.

Also, there are some annoying restrictions around existentials, and documentation of Generics and other advanced type machinery could be a lot better in general.

There are no comments on this comment yet.