• b

    bissell

    4 years ago
    I remember Josh Bloch telling a story in some interview about how he left this out of the Java APIs and had some co-worker grumble about the "axiom of choice". He later regretted the decision and thought it would often be a useful method, but I don't know what his reasons were.
    b
    orangy
    5 replies
    Copy to Clipboard
  • a

    Aregev2

    4 years ago
    Are there plans to optimize kotlin reflection, since its slower than java reflection.
    a
    ilya.gorbunov
    2 replies
    Copy to Clipboard
  • a

    Aregev2

    4 years ago
    And also maybe add a function that takes a class's superclass as a KClass and all implemented interfaces as a List<KClass> I already got an easy algorithm for both based on the class.superclasses and it might be easier just implementing it to kotlin-reflect
  • LeoColman

    LeoColman

    4 years ago
    Hey guys! Can we get some attention at this issue? https://youtrack.jetbrains.com/issue/KT-24995
    LeoColman
    a
    8 replies
    Copy to Clipboard
  • a

    Aregev2

    4 years ago
    Maybe addElements is more suitable insted of addAll
    a
    1 replies
    Copy to Clipboard
  • enleur

    enleur

    4 years ago
    oh god.. please no
    enleur
    a
    +1
    8 replies
    Copy to Clipboard
  • littlelightcz

    littlelightcz

    4 years ago
    (moved from #language-proposals)
    littlelightcz
    s
    +6
    40 replies
    Copy to Clipboard
  • r

    rrva

    4 years ago
    If I have a stream of
    [a, b, c, d]
    what’s a simple and idiomatic way to transform this into a stream of pairs
    [[a, b], [c, d]]
    r
    a
    6 replies
    Copy to Clipboard
  • p

    pniederw

    4 years ago
    what’s the difference between
    kotlin-stdlib
    and
    kotlin-stdlib-common
    ? both are on my class path, which results in duplicate hits in searches.
    p
    karelpeeters
    +1
    26 replies
    Copy to Clipboard
  • e

    elect

    4 years ago
    it'd would be nice if I can set the value by simply calling
    ref(value)
    instead
    ref.set(value)
    e
    gildor
    +1
    43 replies
    Copy to Clipboard