Join Slack
Powered by
for example, if kotlin loaded a dynamic proxy that...
# language-proposals
g
groostav
03/06/2017, 2:02 AM
for example, if kotlin loaded a dynamic proxy that simply threw exceptions for every method that was called on it short of the
Object
methods (equals, hashcode, and tostring), then we could write
Copy code
object UNINITIALIZED_VALUE: Nothing by NOTHING_DYNAMIC_PROXY_INSTANCE
and you get all of the afformentioned casting wins
Open in Slack
Previous
Next