Swift (2)

Swift2
https://developer.apple.com/library/prerelease/mac/documentation/Swift/Conceptual/Swift_Programming_Language/index.html

The book is also available as an iBook. The chapter A Swift Tour can be opened as a playground in Xcode, in which you can modify the source code to get the result, or an error message, immediately.

functionParameters

One interesting thing with Swift is that function parameters have both an external parameter name and a local parameter name. In the above example, to and and are external, and person and anotherPerson are internal parameter names, respectively.