~/talk

Emerging Best Practices

Talkat GOTO Copenhagen 2015 · 2015-10-05..10-06· [swift]
slides:none on file

Shows concrete Swift 2 techniques and why they matter: demonstrates guard/defer/enum associated values usage, explains dependency injection by swapping a network controller for a protocol-backed stub in unit tests, and gives a working pattern for injectible NSUserDefaults via default parameters. Explains currying for reusable filters, contrasts refactor vs rewrite (changing tests means rewrite), and argues unit tests improve API design. Watch if you want runnable patterns to make Swift code testable and easier to change.

AI-written summary · about

  1. 0:00Start
  2. 2:30Agenda
  3. 5:32Before Object Literals and ARC
  4. 5:59After Object Literals
  5. 7:08Blocks & CCD
  6. 10:00Swift 2
  7. 11:11Pyramid of Doom
  8. 11:38Clause Applause
  9. 11:57Avoid Mutability
  10. 13:11Before Currying
  11. 15:11Extract Associated Values
  12. 18:22Syntax vs Idea
  13. 19:01Never Throw Away Ideas
  14. 20:09Beginner learns thing
  15. 24:58Things to never throw away
  16. 25:43Unit Testing & Thinking
  17. 27:10Benefits of Testing
  18. 33:04Without Dependency Injection
  19. 34:39Cheat with Dependency Injection
  20. 39:56Look for Abstractions
  21. 44:06Wrap Up
~/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.