DEV Community

Discussion on: What programming concept did you struggle the most with?

Collapse
 
rad_val_ profile image
Valentin Radu

Generics, covariance and contravariance.

It took me quite a bit to understand them, although not that complicated now that I think about it. Also, it didn't help Swift was riddled with generics related bugs when I first encountered them in practice.