Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Idio~ma~tic Kotlin (droidcon London 2019)

Idio~ma~tic Kotlin (droidcon London 2019)

‘Idiomatic’ is a word often used by Kotlin experts to describe elegant patterns or solutions that make excellent use of Kotlin’s features. Let’s turn this attitude around for a change, and have some fun by taking a look at the worst ways you can twist and abuse language features to take shortcuts, create tricky solutions, achieve exciting syntax, or confuse others who dare enter your codebase.

Márton Braun

October 25, 2019
Tweet

More Decks by Márton Braun

Other Decks in Programming

Transcript

  1. Sources • Effective Kotlin - Marcin Moskala  https://leanpub.com/effectivekotlin •

    Abusing Kotlin's Unicode Support for Fun - Todd Ginsberg  https://todd.ginsberg.com/post/kotlin-random-extension/ • Typical Kotlin - Márton Braun  https://zsmb.co/talks/#typical-kotlin • Dealing with the absence of value - Roman Elizarov  https://medium.com/@elizarov/dealing-with-absence-of-value- 307b80534903
  2. Sources • Reddit post - /u/Tok-A-Mak  https://www.reddit.com/r/Kotlin/comments/cdotu0/intellectuals_will_understand/ • Tweet

    - Marcin Moskala  https://twitter.com/marcinmoskala/status/1007640373970329600 • Stack Overflow question – Hi Lo  https://stackoverflow.com/q/48037330/4465208 • Stack Overflow question - cuihtlauac  https://stackoverflow.com/q/48505963/4465208