Ruckus
01/22/2018, 11:48 PMbenleggiero
01/23/2018, 5:16 AMShawn
01/23/2018, 5:17 AMRuckus
01/23/2018, 6:02 AMbenleggiero
01/24/2018, 2:42 AMval x = ""
is me saying “I want a public value named x and it’s an empty String”. Kotlin does what I mean, and interprets it as public val x: String = ""
. Languages like Java don’t have any ‘just do what I mean’ idioms, so it would always have to be public String x = ""
. What I ask for is possible as a ‘convenient construct within the scope of a consistent grammar’; I even gave examples for how/why