Monday, September 29, 2014

10 features Apple 'stole' for the Swift programming language

http://www.infoworld.com/slideshow/155797/10-features-apple-stole-the-swift-programming-language-243934
http://www.inside.com.tw/2014/06/12/apple-swift


  • Dictionaries (aka hash tables) -- from JavaScript
  • Inferred data types -- from functional programming languages
  • Data structure declarations -- from C# and Java
  • String templating -- from Cold Fusion, JSP, and others
  • Optional semicolons -- from JavaScript and Python
  • Protocols (aka interfaces) -- from Java and C#
  • Tuples -- from Lisp and Python
  • Automatic reference (akin to garbage collection) -- from Java, C#, and (gasp) Objective-C
  • Signed and unsigned integers -- C# and Objective-C
  • Closures -- from Lisp and Scheme via JavaScript



No comments:

Related Posts Plugin for WordPress, Blogger...