michaelsims
06/07/2016, 9:23 PMDmitry Kandalov
06/07/2016, 9:38 PMvoddan
06/07/2016, 9:49 PMimport myObject.*
work?orangy
myObject
is not a package or enumDmitry Kandalov
06/07/2016, 9:53 PMorangy
equals
that is there?Dmitry Kandalov
06/07/2016, 10:03 PMequals
.pfn
06/07/2016, 10:04 PMpfn
06/07/2016, 10:04 PMDmitry Kandalov
06/07/2016, 10:06 PMkennycason
06/07/2016, 10:06 PM"we need to figure out a way to super uber promote kotlin in the Java community; I don’t know what that means exactly but I haven’t like a language this much ever, period, hands down
and the more I work with it the more I like it
there are only a few oddities around inline and crossinline that I find hard to grok but otherwise, it’s near perfect"
kennycason
06/07/2016, 10:07 PMDmitry Kandalov
06/07/2016, 10:48 PMfun <T> newArray(t: T): Array<T> = Array(1, {t})
.Dmitry Kandalov
06/07/2016, 10:49 PMvoddan
06/07/2016, 11:03 PMequals
in your data class if you want a deep comparison for structures.voddan
06/07/2016, 11:04 PMinline fun <reified T> newArray1(t: T): Array<T> = Array(1, {t})
Dmitry Kandalov
06/07/2016, 11:13 PMreified
. Yes, custom equals
will work but it feels like writing java.voddan
06/07/2016, 11:14 PMvoddan
06/07/2016, 11:15 PMevanchooly
06/07/2016, 11:15 PMevanchooly
06/07/2016, 11:16 PMkevinmost
06/07/2016, 11:18 PMList
interface in Kotlin is actually just a wrapper around ArrayList
that doesn't give you access to the mutation methodskevinmost
06/07/2016, 11:19 PMArrayList
when constructing it, which definitely makes it efficient enough that almost nobody will have to worry about explicitly using an Arraydenis.st
06/07/2016, 11:20 PM<=
to >
in the body of non-inline method) I see all these warnings on "compileDevDebugKotlin" step of the gradle.
Is that mean that the incremental compilation doesn't work for me?denis.st
06/07/2016, 11:22 PMfellshard
06/07/2016, 11:35 PMfellshard
06/07/2016, 11:36 PMkevinmost
06/07/2016, 11:55 PMsargunv
06/07/2016, 11:57 PMRuckus
06/07/2016, 11:57 PM