~/talk

Declarative Programming in Swift

Talkat try! Swift India 2017 · 2017-11-18..11-19· [swift, functional-programming]
slides:none on file

Argues that Swift’s protocols, generics and operator overloading let developers express the “what” instead of the “how,” and demonstrates concrete implementations: replacing loops with map/filter/reduce patterns, building a Visual Format Language DSL via an overloaded infix operator that generates typed constraints (it works), creating an AbsolutePath type that validates on init to eliminate runtime throws, and a cross‑platform UIView/NSView wrapper. Emphasizes pushing semantics into types and protocols and shows working prototype code and slides.

AI-written summary · about

  1. 0:00Introduction
  2. 0:55Declarative Programming
  3. 1:15Declarative Language
  4. 1:36Implicit vs Declarative
  5. 3:05What is Declarative
  6. 3:34Advantages
  7. 6:10Imperative vs Declarative
  8. 7:47Avoid Loops
  9. 9:03Language Primitives
  10. 10:24DSL
  11. 11:22Apples Documentation
  12. 12:46Mental Model
  13. 13:15Declarative UI
  14. 15:06Semantics and Row Types
  15. 16:47Generics
  16. 17:40Protocols
  17. 18:30Generic Data Structures
  18. 21:58Conclusion
~/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.