Is there a good post on why reifying Java's generics is a bad idea? I can think of a couple of reasons, but I don't think I grok it.
-
-
Replying to @ctford
@ctford Try "Theorems for free!",@PhilipWadler, 1989.1 reply 0 retweets 2 likes -
Replying to @S11001001
@S11001001@PhilipWadler I love that paper, but how is parametricity affected by reifying generics? Just because it's reflection?1 reply 0 retweets 0 likes -
Replying to @ctford
@ctford@S11001001@PhilipWadler Reification gives only dubious (no) use-cases at the expense of parametricity. That's quite expensive!1 reply 1 retweet 2 likes -
Replying to @dibblego
@dibblego@S11001001@PhilipWadler Isn't parametricity already lost? Theorems for free needs total functions, and most methods fail on null.1 reply 0 retweets 1 like -
Replying to @ctford
@ctford@S11001001@PhilipWadler No. See Fast and Loose Reasoning,1 reply 1 retweet 2 likes -
Replying to @dibblego
@dibblego@S11001001@PhilipWadler Thanks for the tip.1 reply 0 retweets 0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.