filmov
tv
Contravariance in Scala: Why Is It So Hard? | Rock the JVM

Показать описание
This video is for the Scala programmer who's only been using generics in their basic form: either with collections, or simply attaching a type argument to a class/trait and minding their own business.
I will introduce the concepts of co- and contravariance and why they are useful, with a few examples and some rules of thumb to follow, without getting into the academic weeds that otherwise make these concepts seem so obscure and confusing to most programmers.
Follow Rock the JVM on:
-------------------------------------------------------------------------
-------------------------------------------------------------------------
Contravariance in Scala: Why Is It So Hard? | Rock the JVM
Covariance and Contravariance
Covariance vs Contravariance in Programming Languages
Variance in Scala
04-Type Contra Variance
Co- and contravariance in Scala with Kamil Korzekwa
Stephen Compall: The Missing Diamond of Scala Variance - λC 2016
Co- and contravariance in Scala with Kamil Korzekwa - attempt 2
Variance Positions in Scala, Demystified | Rock the JVM
Daniel Westheide – The trouble with subtyping: An introduction to typebounds and variance
43) Scala generics. Variance. Invariant, covariant, contravariant
Understanding Scala Variances
Generics Type Variance Explained: covariance, contravariance and invariance
Jimmy Sambuo: How To Use Covariance and Contravariance to Build Flexible and Robust Programs
Sophie Collard CONTRAVARIANCE: INTUITION BUILDING AND EXAMPLES Scalar Conference 2024
Why Do We Need Covariance and Contravariance? | Explained by AI
Variance #3.4 mastering the type system
Java :Covariance, Invariance and Contravariance explained in plain English?(5solution)
covariant type A occurs in contravariant position in type A of value a
Understanding the () = () Not Being a Subtype of Nothing = () in Scala
What is Covariance and Contravariance in C#: A Complete Overview
Subtyping (in Scala)
Contravariance: intuition building from first principles by Sophie COLLARD
Understanding Covariance and Mutable Attributes in Scala
Комментарии