I find myself creating anonymous objects a great d...
# random
n
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