Join Slack
Powered by
yo guys. i read somewhere about kotlin value class...
# announcements
m
myanmarking
09/19/2018, 11:37 AM
yo guys. i read somewhere about kotlin value classes, but cant find where
p
Pavlo Liapota
09/19/2018, 11:42 AM
I think you are looking for inline classes
m
myanmarking
09/19/2018, 11:43 AM
actually, not sure. link ?
p
Pavlo Liapota
09/19/2018, 11:44 AM
https://github.com/Kotlin/KEEP/blob/master/proposals/inline-classes.md
m
myanmarking
09/19/2018, 11:45 AM
thanks so much 😛 was looking for this
👍 1
s
Sam
09/19/2018, 1:58 PM
I guess, inline declaration at use site helps with readability. A new developer reading the use site code might be tempted to check type with that of the class (hope that errors out)
Open in Slack
Previous
Next