~/talk

Writing Java-friendly Kotlin Code

TalkinRussianat Mobius 2017 Moscow · 2017-11-12..11-13· [android, kotlin]
links:none on file
slides:none on file

The talk explains how to write Kotlin libraries that are friendly to Java callers by using Kotlin language features and compiler annotations that improve Java interoperability. It covers specific interop issues that arise when calling idiomatic Kotlin from Java and shows what Kotlin provides (annotations, naming conventions, generated methods) to make APIs work well for both Kotlin and Java users.

AI-written summary · about

  1. 0:00Introduction
  2. 1:04Kotlin-Java integration issues
  3. 2:08Kotlin vs Java keywords
  4. 3:55Kotlin library example
  5. 4:39Java issues with Kotlin
  6. 6:04Kotlin bytecode analysis
  7. 8:35Fixing default parameter
  8. 10:06Static methods in Kotlin
  9. 11:33JvmStatic for fields
  10. 12:43Renaming getters
  11. 15:08Constants in Kotlin and Java
  12. 16:58JvmField for constants
  13. 17:21Break and generics discussion
  14. 18:02Variance in Kotlin
  15. 22:07Declaration vs use-site variance
  16. 24:56JvmWildcard limitations
  17. 26:44Return type problems
  18. 27:59JvmSuppressWildcards
  19. 29:37Exception handling in Kotlin
  20. 31:25JvmName for functions
  21. 34:40Multifile classes
  22. 36:51kotlin.jvm package overview
  23. 37:12Reflection and Riffa parameters
  24. 38:36Kotlin vs Java classes
  25. 39:24Kotlin lambdas and Unit
  26. 41:13Type aliases
  27. 41:55Internal modifier
  28. 43:45Internal API issues
  29. 44:48Bytecode best practices
  30. 45:51Conclusion and Q&A
~/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.