Hacker News new | ask | show | jobs
by paulddraper 2521 days ago
Yes, though Scala can hardly be an example of simplicity.
1 comments

I don't think it's the simplest language out there but its parametric polymorphism is quite straightforward
Once you figure out co- and contravariance, yes. But neurosurgery is straightforward, too. It's just getting from here to there.
99% of the time Scala programmers don't have to worry about variance. I've been using Scala for over 5 years and it's never been more than a cursory concern, the defaults usually work fine. You just have the flexibility to work with it how you want if you need to. To compare it to neurosurgery is simply disingenuous
I think you are generalising. But variance is specifically important for library developers where you have different uses for your code