cbruegg
03/11/2018, 7:48 PMset(value) = ...
for custom setters on variable is also allowed, I'd say it's no problem. Unit
is just a normal return type and value in Kotlin.Andreas Sinz
03/11/2018, 10:12 PMCzar
03/11/2018, 10:24 PMgildor
03/12/2018, 1:46 AMdiego-gomez-olvera
03/12/2018, 9:53 AMAndreas Sinz
03/12/2018, 10:21 AMfun foo() = println("Hello World")
vs fun foo() { println("Hello world") }
fun foo(customer) = updateCustomer(customer)
returns Unit when you expect some kind of ResultCzar
03/12/2018, 11:53 AM