TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The Scala Collection API Sucks … Or is it a Work of Beauty?

3 pointsby fiazover 14 years ago

1 comment

PaulHouleover 14 years ago
As I struggled with the C# type system, I looked to Scala for answers.<p>When I actually tried using Scala, I discovered that type erasure in the JVM broke many of the generics patterns that I was using every day in C#. Also, I discovered that Scala's approach to the static scope doesn't tackle the tough problems addressed by PHP 5.3.<p>Then Microsoft added covariant and contravariant polymorphism in C# 4.0, which are the two features that I wanted the most from Scala.