Homegrown #Scala Collections - Part 10 - Variance - OO & FP Collision
DevInsideYou
In this video we are going to learn about the heart of the FP and OO blend. In addition to that we will start playing with implicits for the first time on this channel so be prepared for some magic and scalac bugs.
The code for the entire project is here: https://github.com/DevInsideYou/homegrown-collections
The commit from this video is here: https://github.com/DevInsideYou/homegrown-collections/commit/506157e8b6d65dc307ebfd398f86d113835d8463
Interesting blog post about the invariance of Sets causing issues: https://engineering.footballradar.com/scala-snacks-part-1-sets-are-invariantly-interesting/
A discussion about weather Scala Sets should be made covariant: https://contributors.scala-lang.org/t/proposal-make-set-covariant/1962
This video is part of the following playlist: https://www.youtube.com/playlist?list=PLJGDHERh23x-4bTASKbtwhhAuP6rYQJqE
Website: https://devinsideyou.com
Patreon: https://patreon.devinsideyou.com Discord: https://discord.devinsideyou.com Twitter: https://twitter.devinsideyou.com Github: https://github.devinsideyou.com
Install scripts: https://install.devinsideyou.com Giter8 templates: https://g8.devinsideyou.com
Spotify concentration playlist: https://code.radio.devinsideyou.com
Cheers and Happy Coding!
#Variance #tutorial ... https://www.youtube.com/watch?v=lPY_FL2-2-g
575038647 Bytes