4 ms·
No shout out to Scala, which handles this all quite nicely? >sad face<
by JackFr 11y ago
No shout out to Scala, which handles this all quite nicely?
>sad face<
- mikeash 11y agoI 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.
- chengl 11y agohere you go. Variance explained by Martin Odersky in his coursera course https://class.coursera.org/progfun-005/lecture/83 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 http://docs.scala-lang.org/tutorials/tour/variances.html