nyxcode
09/05/2017, 9:57 PMA
depends on an inline function of module B
? If both modules are on the classpath as seperate .jars, you'd expect that a change to an inline function in module B
only affects, well, module B
. But thats not the case, because the functions are inlined in module A
. A change to an inline function in module B
would not have any effect because the old version of the function is still inlined in module A
jw
09/05/2017, 10:07 PMpakoito
09/05/2017, 11:19 PMscottc
09/06/2017, 4:31 AMdiegog
09/06/2017, 10:24 AMalexsullivan114
09/06/2017, 3:44 PMericksli
09/07/2017, 7:20 AMArray<CreditCardType>
for types
, the first element of the array is null. However, when I use List<CreditCardType>
, it works normally.
https://pastebin.com/u1LiT2imelect
09/07/2017, 8:02 AMbamdmux
09/07/2017, 10:45 AMevanchooly
09/07/2017, 2:40 PMadams2
09/07/2017, 2:47 PMddsoyka
09/07/2017, 3:25 PMJan 1, 2000 12:00 PM
, and the formats MMM d, y h:mm a
& MMM d, y HH:mm
, my question is: why do both formats match the input using SimpleDateFormat
?mmaillot
09/08/2017, 9:14 AMforEach
and populate MutableList
and recursive function with List
? The first seems most efficient but the second one respect immutable principle of functional programming.natpryce
09/08/2017, 9:56 AMjanvladimirmostert
09/08/2017, 10:37 AMclass A(b: String){
var b: String
init{
this.b = b
}
}
but when you add a setter, the property needs to be initialized, otherwise it doesn't compile?
class A(b: String){
var b: String // <- b needs to be inialized, otherwise no compile
set(value) {field = value}
init{
this.b = b
}
}
mradupoku
09/08/2017, 10:43 AMedik
09/08/2017, 2:15 PMedik
09/08/2017, 2:19 PMmike_shysh
09/08/2017, 2:41 PMdiesieben07
09/08/2017, 4:51 PMval customer = CustomerInfo(
param1 = xxx,
param2 = yyy
)
louiscad
09/08/2017, 10:35 PMkarelpeeters
09/10/2017, 10:21 AMkarelpeeters
09/10/2017, 2:21 PMfun foo(): null = null
I can't really think of a use case, I was just wondering.Artem Ohanjanyan
09/10/2017, 5:32 PMArtem Ohanjanyan
09/10/2017, 6:02 PMdiesieben07
09/10/2017, 10:54 PMString
can never be null, String?
can. In Java String
does not express any notion of whether or not it can be null.segfalt
09/10/2017, 10:54 PMType!
and Type?
-- I seem to see a lot of the former when interoping with Java code.spragg
09/10/2017, 11:35 PMlateinit var
is initialised without using it and catching the exception? or am I going to have to change it to a nullable ?anan
09/11/2017, 7:49 AMmike_shysh
09/11/2017, 11:02 AMmike_shysh
09/11/2017, 11:02 AMgildor
09/12/2017, 1:26 AM