~/talk

Design Patterns with Kotlin

Talkat Silicon Valley Code Camp 2017 · 2017-10-07..10-08· [kotlin]
links:none on file
linkedin:ejohnfeig
slides:none on file

Implements the Gang of Four patterns in Kotlin using IntelliJ’s Java→Kotlin converter and decompile-to-Java to inspect bytecode, building singletons, factories, abstract factories, builders, decorators, adapters, strategy/command, observers and a Dagger DI example; Kotlin cuts boilerplate, object as singleton yields thread-safe, reflection-safe singletons, and the Elvis operator (?) for nullable returns fixes factory conversions, but two converter issues appear (observer callback bug and nullability changes); overall examples compile and run after small Kotlin-specific fixes, verified by decompile to Java.

AI-written summary · about

  1. 0:00Introduction to design patterns
  2. 1:28What are design patterns
  3. 5:01Kotlin introduction and features
  4. 7:56Singleton pattern in Kotlin
  5. 14:07Factory method pattern
  6. 18:50Abstract factory pattern
  7. 23:16Builder pattern explained
  8. 27:56Facade and structural patterns
  9. 30:05Decorator pattern in Kotlin
  10. 33:03Adapter pattern for legacy code
  11. 35:24Strategy and command patterns
  12. 39:55Observer pattern with Kotlin
  13. 43:18Dependency injection overview
  14. 45:24Takeaways and conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.