-
-
Replying to @propensive
@raichoo To elaborate on that, counting asInstanceOfs in a library is a bad metric. Shapeless has 74 of them, for example. /cc@milessabin2 replies 0 retweets 0 likes -
Replying to @propensive
@propensive Yeah, the ones that aren't are in the implementation of Typeable and tagged types (ie. newtype). /cc@raichoo1 reply 0 retweets 0 likes -
Replying to @milessabin
@propensive So I think it is a pretty good metric. If unsafe constructs are used they need to be justified. /cc@raichoo2 replies 0 retweets 2 likes -
Replying to @milessabin
@milessabin@propensive@raichoo 53 occurrences of 'unsafeCoerce' in Haskell 'lens' :-)2 replies 0 retweets 4 likes
@larsr_h @milessabin @raichoo Ideally we would all channel more of our casts through just a few asInstanceOfs. Micro-DRY, if you like.
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.