4 ms·
There are so many languages to choose from that don't take off outside their niche, why would Swift be different? From an outsider's perspective, Swift is an a
by flohofwoe 5y ago
There are so many languages to choose from that don't take off outside their niche, why would Swift be different?
From an outsider's perspective, Swift is an attempt to replace ObjC as the "macOS/iOS platform language" with something that feels a bit more '21st century' (for better or worse), so it plays the same role as Kotlin on the Android platform.
IMHO a better solution would have been to provide more "language-interop-friendly" C-API wrappers for high level macOS framework APIs, so that it's easier to write macOS and iOS applications in all sorts of languages (the same applies to Android btw). But the NIH seems to be strong at Apple, so Swift it was instead.
- andrekandre 5y ago> IMHO a better solution would have been to provide more "language-interop-friendly" C-API wrappers for high level macOS framework APIs, so that it's easier to write macOS and iOS applications in all sorts of languages that was arguably easier with obj-c already, and had java, then ruby and python [1] lnguage interops but alas were not popular... [1] https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/CocoaFundamentals/WhatIsCocoa/WhatIsCocoa.html https://developer.apple.com/library/archive/documentation/Co...