rrader02/05/2018, 8:50 AM
hho02/05/2018, 9:42 AM
diesieben0702/05/2018, 9:45 AM
kevinmost02/08/2018, 1:23 PM
rrader02/08/2018, 1:46 PM
on method, so "isOverridden" from child point of view, not from parent
kevinmost02/08/2018, 1:49 PM
rrader02/08/2018, 1:50 PM
kevinmost02/13/2018, 3:14 PM
backed by an
being the performance benefits? I'd use them wherever I'm currently using normal collections, though I assume the Java interop would be hairy so in those scenarios, I might revert back to the current "immutable-but-not-actually" collections
ilya.gorbunov02/15/2018, 2:36 PM
kevinmost02/15/2018, 2:38 PM
jkbbwr02/15/2018, 2:41 PM
jkbbwr02/15/2018, 2:42 PM
dalexander02/15/2018, 2:45 PM
ilya.gorbunov02/15/2018, 2:48 PM
analogue in the land of immutable collections. The same ImmutableList interface can be backed by different data structures, providing different performance trade-offs. For example one can have fast add to the end, provide sequential accesss and reasonably fast indexed acccess, but at a cost of very expensive remove.
ilya.gorbunov02/15/2018, 2:52 PM
dalexander02/15/2018, 2:55 PM
kevinmost02/15/2018, 3:11 PM
dave0802/15/2018, 8:02 PM
these list need to be appended to mostly, but then used in operater chains. No removal though...
karelpeeters02/15/2018, 8:03 PM
miha-x6402/20/2018, 8:20 PM
looks ambiguous. Shouldn't
operations be for
<T : Any>
karelpeeters02/21/2018, 1:21 AM
miha-x6402/21/2018, 10:27 AM
cannot be done right, this is a logical error. When you change your collection type to nullable, all *OrNull calls start working ambiguously, which I'd prefer to be warned about.
karelpeeters02/21/2018, 10:33 AM
. It's true that you can't use the nullability of the return value to check whether the collection had a first element, but maybe that's not what you needed at all.
asad.awadia02/21/2018, 5:21 PM
data class Todo(val id: Int, val todo: String, val completed: Boolean)
not allow me to access the fields?
asad.awadia02/21/2018, 6:26 PM
jw02/26/2018, 5:35 PM
mg6maciej02/26/2018, 5:43 PM
will work for me.
raulraja02/26/2018, 7:16 PM
possible arities. Data classes could have had
as synthetic methods like they have now with
allowing operations such as these kinds of zips to propagate directly to the target user defined data classes
karelpeeters02/26/2018, 7:17 PM