voddan
01/11/2016, 4:44 AMyole
01/11/2016, 8:48 AMyole
01/11/2016, 8:49 AMvoddan
01/11/2016, 9:40 AMvoddan
01/11/2016, 9:42 AMEugenio
01/12/2016, 1:01 PMThreadLocal
property delegate in the sdlib? I can make a PRmplatvoet
01/12/2016, 1:09 PMmplatvoet
01/12/2016, 1:11 PMThreadLocal
delegates to the stdlib also introduces the risk of being used while not fully understood, hence leading to potential memory leaksEugenio
01/12/2016, 1:45 PMh0tk3y
01/12/2016, 11:06 PMArray(n) { ... }
and its variations for IntArray
, DoubleArray
, BooleanArray
are named in upper case while these are just functions? Why not array(n) { ... }
, intArray
, booleanArray
etc.? Does anyone has an explanation for this decision?h0tk3y
01/12/2016, 11:09 PMarrayOf
and somePrimitiveArrayOf
, lowercase names would be consistent with sequence
/ sequenceOf
and lazy
/ lazyOf
.orangy
damian
01/19/2016, 4:17 PMList.binarySearch
not being inlined? Is it just the length of the function?abreslav
01/19/2016, 4:21 PMilya.gorbunov
01/20/2016, 2:30 PMfun <T> List<T>.binarySearch(fromIndex: Int = 0, toIndex: Int = size(), comparison: (T) -> Int): Int
?ilya.gorbunov
01/20/2016, 2:30 PMdamian
01/20/2016, 2:34 PMvoddan
01/21/2016, 12:54 PMsetOf(1, 2, 3).toString()
results into [1, 2, 3]
, same as listOf(1, 2, 3)
. Is it intentional? Because before that sets were printed {1, 2, 3}
(as everywhere else, ei Python)ilya.gorbunov
01/21/2016, 12:56 PMtoString
implemented for sets in JDK.voddan
01/21/2016, 1:45 PMyole
01/21/2016, 1:47 PMyole
01/21/2016, 1:47 PMvoddan
01/21/2016, 1:49 PMSet
, not for HashSet
voddan
01/21/2016, 1:49 PMyole
01/21/2016, 2:00 PMjasoet-gdp
01/21/2016, 11:46 PMNothing
in Kotlin, doesn’t behave like Nothing
in scala?jasoet-gdp
01/21/2016, 11:46 PMNothing is a subtype of every other type (including scala.Null); there exist no instances of this type
natpryce
01/22/2016, 9:07 AMjasoet-gdp
01/22/2016, 9:20 AMjasoet-gdp
01/22/2016, 9:20 AM