Join Slack
Powered by
I find myself creating anonymous objects a great d...
# random
n
natpryce
06/22/2016, 10:18 PM
I find myself creating anonymous objects a great deal in Kotlin. Often to associate data with items in streams. Or to avoid declaring a class for an object that is a one-off constant — Kotlin infers the type, so there’s often no need to name it
Open in Slack
Previous
Next