Any thoughts on non-capturing lambdas implementing...
# language-proposals
d
Any thoughts on non-capturing lambdas implementing
Serializable
? I'm not sure there'e much of a use case for it, but it came to me thinking about sending a function through a
Bundle
on Android. Experimentally, It is already possible by serializing the
javaClass
and getting the
INSTANCE
by reflection, but
Serializable
would certainly make it more transparent (and type-safe)
­čśČ 2