<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 2, 2016, at 12:29 PM, Robert S Mozayeni via swift-users &lt;<a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello!<div class=""><br class=""></div><div class="">I’m going to give a relatively quick talk about Swift at my&nbsp;<a href="http://hackumbc.org/" class="">university’s hackathon</a>&nbsp;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.</div><div class=""><br class=""></div><div class="">I would appreciate suggestions for what kinds of features to talk about, as well as specific code scenarios to best display those&nbsp;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.</div><div class=""><br class=""></div><div class="">My current list of possible features to go over:&nbsp;</div></div></div></blockquote><div><br class=""></div><div>I’m not sure what your student’s background is, but “extensions” are pretty cool, and atypical for the C family of languages.</div><div><br class=""></div><div>-Chris</div><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">- Type inference</div><div class="">- ARC</div><div class="">- Optionals</div><div class="">- Protocol Oriented Programming</div><div class="">- Enums (associated values; the ability to implement things like Optional/Result/Either)</div><div class="">- Pattern matching</div><div class="">- Functional features</div><div class="">- Tuples/multiple return values</div><div class="">- REPL</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">Thank you!</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Staying Swifty,</div><div class="">Robert Mozayeni</div><div class=""><br class=""></div></div>_______________________________________________<br class="">swift-users mailing list<br class=""><a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-users<br class=""></div></blockquote></div><br class=""></body></html>