https://kotlinlang.org logo
Join SlackCommunities
Powered by
# leedskotlinusergroup
  • d

    dr.dreigh

    05/01/2020, 9:02 AM
    but as you say - more allocation, extra complication
  • d

    dr.dreigh

    05/01/2020, 9:02 AM
    it's silly really, but I have not had to write
    while
    for a ... erm... while 🙂
  • c

    Chantry Cargill

    05/01/2020, 9:03 AM
    Could do
    generateSequence { Unit }.map { if(shouldBeNull()) { null } else { calculateRandom() } }
    but there’s no perfect solution really.
  • d

    dr.dreigh

    05/01/2020, 9:04 AM
    Yeah I think that would work
  • d

    dr.dreigh

    05/01/2020, 9:06 AM
    I think a generateSequence function that expects an Optional written using the inline classes might be nice
  • d

    dr.dreigh

    05/01/2020, 9:12 AM
    generateSequence { shouldBeNull() }.map { if(it) null else calculateRandom() }
  • d

    dr.dreigh

    05/19/2020, 4:19 PM
    https://www.meetup.com/Chicago-Kotlin/events/270033410/
    ❤️ 3
  • s

    Stephen Roberts

    05/20/2020, 12:37 PM
    I'm going to be giving this a go over the next couple of fridays if anyone would like to join me. Practice this fri, proper next. Just be good to practice solving some kotlin problems i thought: https://www.jetbrains.com/promo/kotlin-heroes/?utm_source=twitterkotlin&utm_medium=referral&utm_campaign=kotlinheroes4
    K 2
  • c

    Chantry Cargill

    05/22/2020, 2:33 PM
    Been playing with this for a little app I’m working on in my L & D. https://ajalt.github.io/clikt/quickstart/
  • c

    Chantry Cargill

    05/22/2020, 2:33 PM
    It’s not too bad.
  • p

    Pedro Borges

    05/26/2020, 1:09 PM
    How did everyone do during the practice run of the Kotlin Heroes?
  • p

    Pedro Borges

    05/26/2020, 1:09 PM
    I’m yet to finish problems 4 and 5
  • s

    Stephen Roberts

    05/26/2020, 7:19 PM
    tbh I didnt know how to get started! 🙃
  • c

    Chantry Cargill

    06/02/2020, 9:35 AM
    Found this interesting.
    d
    • 2
    • 1
  • j

    jmillner_

    06/02/2020, 9:48 AM
    Oh that is neat! I've not seen that before 🙂
  • c

    Chantry Cargill

    06/02/2020, 9:56 AM
    Bit of a strange design choice. Trying to think of uses of it, and the only thing I can think of is a configuration map, but in that case what is wrong with getOrDefault? I certainly wouldn’t want to publish the map to another class with an explicit default, as that ties the implementations together.
  • d

    dr.dreigh

    06/02/2020, 12:56 PM
    Check this, Chantry's favourite topic: https://www.meetup.com/kotlin-london/events/270844240/
  • d

    dr.dreigh

    06/02/2020, 12:58 PM
    will tweet it out shortly - unless Steve/Milly want to beat me to it!
  • d

    dr.dreigh

    06/02/2020, 1:04 PM
    looks good, and it's going to rain tomorrow, winner winner!
  • a

    Amar

    06/02/2020, 1:50 PM
    Hahaha, loved the tweet!
  • c

    Chantry Cargill

    07/22/2020, 8:48 AM
    Found this discussion useful. Particularly the discussion around fun
    CoroutineScope.x()
    and
    suspend fun x() { … }
  • p

    Pedro Borges

    08/19/2020, 10:34 AM
    https://kotlinlang.org/lp/event-14/
    👌 1
    👍 5
  • t

    Tom

    08/03/2021, 7:57 AM
    aaaa
    👋 1
    👀 2
  • m

    Matt Watson

    10/07/2022, 2:28 PM
    bbb
  • m

    Macs Dickinson

    10/18/2022, 4:31 PM
    Hi fwends. There doesn’t seem to be anyone running a Kotlin user group in Leeds at the moment so am considering starting one. Thought it’d be better to resurrect this than start a new one. Anyone want in on it? Have a venue and a couple of potential sponsors lined up.
    🔥 1
  • m

    Macs Dickinson

    03/03/2023, 3:16 PM
    Where the Kotliners at? Ben Dale at SGI is organising a Kotlin meet up in Manchester in May and is on the lookout for speakers. Is anyone here interested?
    c
    • 2
    • 2
  • m

    Macs Dickinson

    03/03/2023, 3:20 PM
    not sure what to talk about? ChatGPT’s got your back
  • c

    Chantry Cargill

    03/06/2023, 5:05 PM
    I could potentially get involved.
  • c

    Chantry Cargill

    03/06/2023, 5:05 PM
    I’ll share this message with some of the old crew
  • j

    Joseph Dudley

    03/24/2023, 6:32 PM
    Hello Leeds people 👋 we've got a Kotlin job going and have a lovely Leeds HQ in The Calls
    👋 1