Apple's Swift language, which was developed to bring a more modern approach to building OS X and iOS applications, has been embraced by developers because of its unique features.
"Swift is much easier for beginners to learn than [predecessor language] Objective-C," says iOS developer Michael Patrick Ellard. "In Swift, the syntax for functions, methods, and closures is essentially the same, so it's much easier for beginners to read and write code."
The language is more human-readable than many other development languages, yet it also provides the power required to accomplish complex functions, notes Magenic's Wendy Wise.
Ellard says Swift has features other languages, including Objective-C, do not have, such as generics, tuples, operator overloading, and type inference.
"Generics, which enable developers to avoid duplication by writing flexible, reusable functions and types that can work with any type, are a huge plus," says Magenic's Russ Miller. He says Swift also increases the ability to write apps with immutability, which is helpful when working with application programming interfaces called by unknown consumers.
From InfoWorld
View Full Article
Abstracts Copyright © 2015 Information Inc., Bethesda, Maryland, USA
No entries found