KickstarterBrandon WilliamsAnnouncement
Functional Swift Conference 2017 — Brooklyn
Summary
Kickstarter hosted the fourth Functional Swift Conference on April 15th, marking the third time the event had been held at its office. The all-day gathering brought together 10 speakers, including four Kickstarter engineers, and 90 attendees to discuss what functional programming can contribute to better Swift code. Sessions covered recursive enums and KD-trees, testing side-effects, domain-specific languages with GraphQL, algebraic laws, monoids, predicates, sorting functions, applicative functors, parsing, and type inference. Examples included using value types and recursive data structures to describe complicated objects and live-coding an applicative parsing API that generates its own documentation. The closing type-system talk examined why inference is hard and described the Swift compiler team’s use of graph theory to address inference problems practically.
Context
The conference centered on what can be learned from functional programming to write better Swift code. Its program brought together discussions of functional techniques, testing, language design, parsing, and type inference.
Approach / What changed
Kickstarter presented an all-day program with 10 speakers, including four Kickstarter engineers, across talks, live coding, and practical examples. Topics included recursive data structures for KD-trees, describing side-effects for testing, GraphQL-based domain-specific languages, applicatives, and graph theory applied to type inference.
Takeaways
Konrad Feiler applied value types and recursive data structures to KD-trees, using them to describe complicated objects and demonstrate their performance properties.
Matt Diephouse argued that describing side-effects instead of performing them can provide greater testability and understandability than relying on test doubles.
Chris Eidhof live-coded an applicative parsing API that generates its own documentation, while Robert Widmann discussed graph theory as a practical tool for type-inference problems.
Source and freshness
- Source
- medium.com
- Published
- Added to Yomu
- Last updated
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.