News for hackers. Stuff that matters.
Re:Covariance and Contravariance by JackFr on Saturday November 21, 2015 @09:49AM (#10606914)
No shout out to Scala, which handles this all quite nicely? >sad face<
Re:Covariance and Contravariance by mikeash on Saturday November 21, 2015 @12:40PM (#10607390)
I don't know much Scala, and my blog is mostly focused on the Apple world.

That said, I always love seeing other perspectives, so a comment on the article describing how Scala gets it right would be welcome.

Re:Covariance and Contravariance by chengl on Saturday November 21, 2015 @01:20PM (#10607521)
here you go. Variance explained by Martin Odersky in his coursera course https://class.coursera.org/progfun-005/lecture/83 (you need to login to watch it). Or the Scala doc http://docs.scala-lang.org/tutorials/tour/variances.html