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

Idio~ma~tic Kotlin (droidcon Vienna 2019)

Márton Braun
September 20, 2019

Idio~ma~tic Kotlin (droidcon Vienna 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.

Talk recording: https://www.youtube.com/watch?v=XzBhrNq0nvQ

Márton Braun

September 20, 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
  3. Image credits • First cover  https://unsplash.com/photos/Co_hWX_XtEk • Second cover

     https://www.pexels.com/photo/brown-tabby-cat-lying-on-sofa-755834/ • Questions slide  https://unsplash.com/photos/9SWHIgu8A8k