Swift for TensorFlow, Swift Generics, and monthly exercism.io challenge!
Details
NOTE: We're in room P417 on the fourth floor this month, not our usual room.
Swift for TensorFlow:
Steven Pritchard will give a lightning talk on the newly announced Swift for TensorFlow: https://www.tensorflow.org/community/swift
Monthly Code Challenge:
We'll start by comparing our solutions to this month's exercism.io Swift challenge Accumulate at http://exercism.io/exercises/swift/accumulate . I encourage everyone to join our exercism.io team and submit their own solution before the meetup: http://exercism.io/teams/learn-swift-winnipeg/ .
Generics:
This month's coding challenge is a great example of how Swift Generics can be used to reduce code duplication and help prevent duplication related bugs. That being said, generic programming is conceptually more difficult, harder to read, and harder to reason about than non-generic code.
So let's have an informal discussion about generic programming, how it works, when it's useful, and whether or not it's worth the added cognitive load.
We will probably refer to Swift Programming Language: Generics during the discussion. Feel free to check it out before the meetup if you're new to the topic: https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/Generics.html .
What You'll Need (if you want to join in on any of the coding portions):
• A laptop, preferably running macOS, although Swift does run on linux so you can always try this: https://www.raywenderlich.com/122189/introduction-to-open-source-swift-on-linux
• Install the latest version of Xcode from the Mac App Store at https://itunes.apple.com/ca/app/xcode/id497799835?mt=12 (macOS only). You'll want to download this ahead of time because it's multiple GB in size.
• If you don't have the above–still come and learn!
See you all soon!
- Jeffrey
