3 ms·
>Swift's type system is what I have in mind: strict, complex, required, and in my experience, often petty. I do hear a lot of complaints about Swift's type sys
by jolux 6y ago
>Swift's type system is what I have in mind: strict, complex, required, and in my experience, often petty.
I do hear a lot of complaints about Swift's type system. I wonder what the specific problems are, because I do not hear similar complaints about Rust. I wonder if it's the combination of subtyping with a lot of type inference and also a full-on trait system with protocols and extensions and such.
- sparker72678 6y agoMy biggest complaints all center around the intersection of custom types with protocols and extensions, especially when trying to get a generic approach to something working.
- jolux 6y agoYeah, that's where I would expect the problems to be. I believe Scala has similar issues.