$30 off During Our Annual Pro Sale. View Details »

The Kotlin Features You’ve Been Missing Out On

The Kotlin Features You’ve Been Missing Out On

This was a slide that I use at DevFest Makurdi 2022, where I covered some Kotlin features that most developers do not know exist or do not use so much.

Manuel Ernesto

November 05, 2022
Tweet

More Decks by Manuel Ernesto

Other Decks in Programming

Transcript

  1. Makurdi
    Manuel Ernesto
    Senior Software Engineer
    The Kotlin Features You’ve
    Been Missing Out On

    View Slide

  2. Extension Function

    View Slide

  3. Extension Function

    View Slide

  4. Extension Function

    View Slide

  5. Extension Function

    View Slide

  6. Lambda Extension

    View Slide

  7. Lambda Extension

    View Slide

  8. Infix Notation

    View Slide

  9. Infix Notation
    "a" to 10

    View Slide

  10. Infix Notation
    "a" to 10
    0 until 10

    View Slide

  11. Infix Notation

    View Slide

  12. Infix Notation

    View Slide

  13. Infix Notation

    View Slide

  14. Comparable

    View Slide

  15. Comparable
    <, >, <=, and >=

    View Slide

  16. Comparable

    View Slide

  17. Comparable

    View Slide

  18. Destructuring
    Declarations

    View Slide

  19. Destructuring Declarations

    View Slide

  20. Destructuring Declarations

    View Slide

  21. Destructuring Declarations

    View Slide

  22. Destructuring Declarations

    View Slide

  23. Destructuring Declarations

    View Slide

  24. Destructuring Declarations

    View Slide

  25. Destructuring Declarations

    View Slide

  26. Inline functions

    View Slide

  27. Inline functions

    View Slide

  28. Inline functions

    View Slide

  29. Inline functions

    View Slide

  30. Copy

    View Slide

  31. Copy

    View Slide

  32. Copy

    View Slide

  33. Copy

    View Slide

  34. Local functions

    View Slide

  35. Local functions

    View Slide

  36. Delegated Properties

    View Slide

  37. Delegated Properties

    View Slide

  38. Delegated Properties
    Observable

    View Slide

  39. Resources 󰝺
    Kotlin: https://kotlinlang.org/
    Speaker deck: https://speakerdeck.com/manuelernest0
    Medium: https://manuelernest0.medium.com/

    View Slide

  40. Thanks 󰚢
    Manuel Ernesto
    @manuelernest0

    View Slide