3 ms·
I don't think Swift was designed to address the problems of writing mobile apps in Objective-C. It seems more like a compiler/language developer's idea of what
by kenshi 10y ago
I don't think Swift was designed to address the problems of writing mobile apps in Objective-C.
It seems more like a compiler/language developer's idea of what a good modern language should be.
- rokob 10y agohttp://carlosicaza.com/swiftbooks/SwiftLanguage.pdf http://carlosicaza.com/swiftbooks/SwiftLanguage.pdf Swift was designed for writing apps on the mac platforms, primarily on iOS, and although somewhat debatable as a replacement for Objective-C due to it's quirks. If you want proof of that, just read between the lines in the original documentation. Not to mention, many of the features that were called out originally are direct responses to issues with Objective-C: Optionals, Typed containers, Generics, modules, real first class functions instead of just blocks, final classes, let, etc.
- coldtea 10y ago>If you want proof of that, just read between the lines in the original documentation. Those things were obviously requirements for roles it should fulfill. But no things in its design hold it back from being a modern language that's even more expressive and fast than Go. Except some concurrency love perhaps.