• ankushg

    ankushg

    1 year ago
    Wrote an article about lessons we learned about sharing code across our Android/iOS/web clients for Stripe's Increment Magazine. Not exclusively Kotlin, but definitely did my best to portray KMP in a positive light 🙂 https://increment.com/mobile/write-once-run-anywhere/
    ankushg
    1 replies
    Copy to Clipboard
  • pablisco

    pablisco

    1 year ago
  • k

    Katarzyna

    1 year ago
    What are value classes, how to use and inline them? Consider using inline value classes by @marcinmoskala https://kt.academy/article/ek-value-classes
    k
    marcinmoskala
    2 replies
    Copy to Clipboard
  • Jakob Löhnertz

    Jakob Löhnertz

    1 year ago
    Something most people have enabled, I presume, but in case you didn't know: IntelliJ can nicely display type hints for Kotlin variables such that one can stop the guessing (or hovering) game to figure out what type a variable is of. In this YouTube Short, I'll quickly show how to enable that:

    https://youtu.be/9pr3e0KHKgs

    I'd be happy if you'd share it with people that might benefit from it as well 🙂
    Jakob Löhnertz
    1 replies
    Copy to Clipboard
  • Anastasia Birillo [JB]

    Anastasia Birillo [JB]

    1 year ago
    Hello everyone! We developed a plugin for the Kotlin compiler that leverages the flows of the standard reflection approach and can find classes, objects or functions by some conditions in compile-time. The current latest version is ready and stable! Two ways of using the plugin are supported: by limited DSL (searching of classes and objects by supertypes and annotations; and searching of functions by signature and annotations) and by extended DSL (searching of classes and objects by custom condition and supertype; and searching of functions by custom condition and signature). Since we use IR generation, the plugin can be used by all platforms (JVM, Nativa and JavaScript). Although currently, we can analyze only kt files. Additionally, the plugin uses a code generation approach in limited DSL to support compile-time reflection in libraries. It means, if you have a library that uses Reflekt and you call something from this library in your project, all Reflekt calls will be in the compile-time. Currently we support 1.5.30, 1.5.21, 1.5.20, 1.5.10, 1.5.0 Kotlin versions. Unfortunately, we do not support incremental compilation yet, but in the next release, we will be! We will be happy if the plugin would be helpful for you! If you are interested in this project and have some ideas for improving the plugin, please don’t hesitate to contact me! To discuss it see #compiler channel
    Anastasia Birillo [JB]
    altavir
    +2
    8 replies
    Copy to Clipboard
  • k

    Katarzyna

    1 year ago
    What is the difference between list and sequence processing, and when each should be preferred? Prefer Sequence for big collections with more than one processing step by @marcinmoskala https://kt.academy/article/ek-sequence
    k
    1 replies
    Copy to Clipboard
  • c

    CLOVIS

    1 year ago
    I have recently started working on a Kotlin/JVM DSL for Apache Cassandra. I will be releasing it as part of a greater project, under the Apache 2.0 license. I'm curious if there's interest from the community, I don't think Cassandra is very popular with Kotlin developers?
    c
    e
    17 replies
    Copy to Clipboard
  • louiscad

    louiscad

    1 year ago
    Just published my first article, I hope you like it! https://blog.louiscad.com/how-to-return-2-values-with-0-allocation-in-kotlin
    Fun
    fact: I took over 50 photos before I settled for the cover picture
    :blob-upside-down:
    louiscad
    e
    +2
    9 replies
    Copy to Clipboard
  • raulraja

    raulraja

    1 year ago
  • Jakob Löhnertz

    Jakob Löhnertz

    1 year ago
    I produced a new episode of my YouTube series Idiomatic Kotlin. This one is about the Result mechanism (
    Result<T>
    )
    of Kotlin! I upgraded my production quality a lot and produced a concise, to the point video! There's an auxiliary appendix video available in which I am going into more detail with a hand-made example. Here's the new episode:

    https://youtu.be/-_ysLWhR-NE

    Let me know what you think 👍
    Jakob Löhnertz
    andylamax
    +1
    4 replies
    Copy to Clipboard