17
User
Recs.
Recs.
24
Updates
Last
Updated
Updated
Activity
94 Options
SpecsUpdate
PlatformsMac, Linux
Pros
Pro Strict static typing
Compared to more established languages such as C/C++, Java and C#, Swift is a lot pickier about types. There is no automatic conversions between different integer of floating point types e.g. Sum types means you can represent things like JSON data in a types safe manner. The fact that switch takes a variety of types and is strict means you weed out a lot of problems related to forgetting to handle a case.
Pro Uses LLVM compiler and Obj-C runtime allowing C, Objective-C, Objective-C++ and Swift code to run side by side within a single program
Know any positive aspects of this option?
Cons
Con Swift is a moving target
They've released 1.2 so far, and 2.0 is coming soon. Every small update brings adjustments to paradigms (such as how to do type casting) that can be a little frustrating to absorb. Objective C was also constantly updating, however, but not at the same rate these days.
Know any negative aspects of this option?
Recommendations
Swift
Recommended 2 years ago
Pro
Strict static typingPro
Protocol oriented programmingPro
Automatic reference countingPro
Modern syntaxPro
Swift has some clever tricks up its sleevePro
Low memory footprint due to reference countingPro
Uses LLVM compiler and Obj-C runtime allowing C, Objective-C, Objective-C++ and Swift code to run side by side within a single program