https://kotlinlang.org logo
Join SlackCommunities
Powered by
# refactoring-to-kotlin
  • n

    natpryce

    07/23/2018, 2:27 PM
    set the channel description: Comms about the Refactoring to Kotlin workshop at KotlinConf 2018
  • n

    natpryce

    07/23/2018, 2:54 PM
    set the channel topic: http://www.oneeyedmen.com/refactoring-to/
  • d

    dmcg

    10/03/2018, 3:06 PM
    Thanks to all attendees - I hope you enjoyed it as much as we did.
  • d

    dmcg

    10/03/2018, 3:06 PM
    The github repo for the exercises is https://github.com/npryce/learn-you-a-kotlin
  • n

    natpryce

    10/04/2018, 9:17 AM
    Please rate the session in the KotlinConf application. If you have specific feedback or suggestions for improvement, we’d love to hear them — you can post them here or as a direct Slack message to either of us (@natpryce @dmcg)
  • l

    legzo

    10/05/2018, 10:54 AM
    Hi @natpryce and @dmcg, just wanted to let you know that I found the workshop very useful and fun. So thanks a lot !
  • d

    dmcg

    10/05/2018, 10:57 AM
    Thank you @legzo
  • n

    natpryce

    10/08/2018, 3:09 PM
    Here is the Kotlin layout hack I mentioned in the workshop: https://gist.github.com/npryce/aaaf36bd925d2f4a1f180815b6517958
    🧌 1
  • n

    natpryce

    10/08/2018, 3:09 PM
    I’m not proud.
  • n

    natpryce

    10/08/2018, 3:10 PM
    (Well, I am a little bit 🙂 )
  • l

    legzo

    10/08/2018, 3:47 PM
    What was the problem again ? IntelliJ autoformatting messing up when trying to lay out chained calls to collections ?
  • n

    natpryce

    10/09/2018, 12:26 PM
    It allows you to put spacing into any expression that the IntelliJ formatter cannot mess with
  • n

    natpryce

    10/09/2018, 12:27 PM
    We used it in test code to format data into a tabular layout
  • l

    legzo

    10/09/2018, 3:21 PM
    Could'nt you use this option from the formatter ?
  • l

    legzo

    10/09/2018, 3:21 PM
    Capture d’écran 2018-10-09 à 17.20.47.png
  • n

    natpryce

    10/10/2018, 7:49 AM
    This preserves spacing between elements on the same line
  • n

    Neil

    03/20/2019, 2:53 PM
    When refactoring java to kotlin does it try and create pure/multiplatform kotlin as much as possible or is it intentionally just targeting the JVM?
  • d

    dmcg

    03/20/2019, 2:59 PM
    Where
    it
    is IntelliJ? A good question - I haven't noticed either way, but then I haven't used Convert to Kotlin since we last ran this workshop.
  • n

    Neil

    03/20/2019, 8:11 PM
    Yes. Would be good to give us a headstart on multiplatform/native!
  • d

    dmcg

    12/04/2019, 3:48 PM
    Code from the Kotlin 2019 workshop: https://github.com/npryce/learn-you-a-kotlin/tree/kotlinconf-2019
  • d

    dmcg

    12/04/2019, 4:03 PM
    Thanks to all who attended and asked such interesting questions.
  • d

    dmcg

    12/04/2019, 4:21 PM
    Image from iOS.jpg
  • d

    dmcg

    10/19/2021, 12:57 PM
    Hello lovely people. You may be interested that @natpryce and I have published an O’Reilly book based on our experiences in this workshop. You can find more details https://java-to-kotlin.dev/ or join the new channel #java-to-kotlin-refactoring
    👍 1
  • d

    dmcg

    03/12/2022, 4:08 PM
    And if you liked the book, you’ll probably like some videos that cover the material there, and more - https://www.youtube.com/c/DuncanMcGregors