[swift-users] What novel features of Swift should I show off in an intro-to-Swift talk?

Chris Lattner clattner at apple.com
Wed Mar 2 22:32:54 CST 2016

> On Mar 2, 2016, at 12:29 PM, Robert S Mozayeni via swift-users <swift-users at swift.org> wrote:
> Hello!
> I’m going to give a relatively quick talk about Swift at my university’s hackathon <http://hackumbc.org/> this weekend. It won’t so much be a “Learn to Write Swift” talk, but rather a shallow review of some of the cool aspects of Swift that might entice a programmer to learn Swift on their own.
> I would appreciate suggestions for what kinds of features to talk about, as well as specific code scenarios to best display those features. I’m not limiting the features to those exclusive to Swift. For instance, many developers haven’t encountered Functional Programming, so I might throw some FP into the talk.
> My current list of possible features to go over: 

I’m not sure what your student’s background is, but “extensions” are pretty cool, and atypical for the C family of languages.


> - Type inference
> - ARC
> - Optionals
> - Protocol Oriented Programming
> - Enums (associated values; the ability to implement things like Optional/Result/Either)
> - Pattern matching
> - Functional features
> - Tuples/multiple return values
> - REPL
> I’m trying to figure out how much of the talk I want to do in a Playground vs the online IBM Swift Sandbox. The latter, attendees can use to play with Swift regardless of their OS, and without having to install anything. Then again, playgrounds are really impressive. I might do a short demonstration on what Playgrounds can do, then switch to the IBM Sandbox so people can follow along with the subsequent examples.
> Thank you!
> Staying Swifty,
> Robert Mozayeni
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160302/ec246631/attachment.html>

More information about the swift-users mailing list