2014年6月3日

[訊真科技技術園地] Apple 發表了新的程式語言 Swift



Apple 發表了新的程式語言 Swift,看來有 type-saftey 和 GC,應該比 Objective-C 好寫很多才對,只是 switch 的 case 不用放 break 嗎?

https://developer.apple.com/library/prerelease/ios/referencelibrary/GettingStarted/LandingPage/index.html



轉載自:
http://zh.lucida.me/blog/an-introduction-to-swift/


来自苹果的编程语言——Swift简介


Swift是苹果于WWDC 2014发布的编程语言,这里引用The Swift Programming Language的原话:

Swift is a new programming language for iOS and OS X apps that builds on the best of C and Objective-C, without the constraints of C compatibility.
Swift adopts safe programming patterns and adds modern features to make programming easier, more flexible and more fun.
Swift’s clean slate, backed by the mature and much-loved Cocoa and Cocoa Touch frameworks, is an opportunity to imagine how software development works.
Swift is the first industrial-quality systems programming language that is as expressive and enjoyable as a scripting language.