~/talk

Parameter Packs or How Swift Decided to Become C++

slides:none on file

Swift 5.9 introduces parameter packs (keywords each/repeat) which removes the old 10-child SwiftUI limit now usable in Xcode 15 (works up to 31–32 children in demos). Examples show building a runtime tuple from arbitrary generics (groupIntoTuple), zipping two independent packs into paired tuples (makePairs), summing counts across collections without a for-loop (totalCount), and an rEqual that short‑circuits via throwing; compilation expands packs at compile time and iteration ergonomics still feel awkward.

AI-written summary · about

  1. 0:00Introduction and SwiftUI limits
  2. 2:50What are parameter packs
  3. 3:13Use case one grouping into tuples
  4. 6:03Use case two pairing elements
  5. 8:31Use case three iterating collections
  6. 12:03Use case four equality checks
  7. 14:30Summary and practical use
  8. 15:34Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.