3 ms·
Correct me if i'm wrong, but Swift has static typing (with type inference, but still with a strict type on every variable), whereas Objective C has dynamic typi
by twic 12y ago
Correct me if i'm wrong, but Swift has static typing (with type inference, but still with a strict type on every variable), whereas Objective C has dynamic typing with optional type annotations. Having ubiquitous strong type information available should make it much easier to generate fast code.
- wnissen 12y agoHm, maybe that's it. I thought typing was still dynamic because of the multiple return types.
- randomguy7788 12y agoguessing multiple return types are supported by just returning a tuple?