HackerTube.dev

Scala Collections: Why Not?

InfoQ · 43.2K views · 2014-01-29 · 45:42

Open on YouTube ↗

If playback is restricted in your region, try opening the original video. Use Mark watched to add it to your marked videos.

Overview

Paul Phillips, a Typesafe co-founder and prolific Scala committer, explains why he walked away from Scala. He critiques the Scala collections library and presents his own design focused on immutability, performance and correctness.

On Hacker News

Cited in Scala-skeptic arguments as an insider's critique, and for his alternative collections API design.

Discussed on HN; no positive recommendation is recorded in this export · HN mentions 2015–2020

Topics

Search by tags

What people said

siwatanejo · 2020-11 · Criticism

Before choosing Scala I think you should watch this talk: [VIDEO] (note: he's not a troll, he worked 5 years with Scala)

Read the original HN comment ↗
partycoder · 2017-04 · Criticism

I think all technologies have sharp edges somewhere, and the way to stay afloat in this business is staying alert. Testing assumptions help, be it through quick REPL experimentation or a unit test. JavaScript has some bad fame around unintuitive behavior but you can find these styles of issues in most languages. A random example: Scala. [VIDEO]

Read the original HN comment ↗
harveywi · 2016-08 · Reference

> I don't want .Where() called on an array to return another array. I want a lazy IEnumerable<T> almost every time. Yes, good point. There is a lot of space to explore in collections API designs, and the LINQ design is just one of them that makes its own tradeoffs (e.g., only have to implement "GetEnumerator()" to get a watered-down monadic experience). Contrast that with the well-meaning but convoluted and buggy Scala collections API (very difficult for novices to create a custom collection due to CanBuildFrom and other tricky stuff). Paul Phillips came up with a pretty neat collections API [1, 2] that provides a nice feature set, including high-performance and typesafe views when you don't really want to wastefully create a temporary collection just to interact with the first 10 elements. [1] [LINK] [2] [VIDEO]

Read the original HN comment ↗

Sources

Video by InfoQ, played through YouTube.

Data and selection notes

HN summaries and labels may contain AI errors. HN dates refer to discussions, not video publication.

HN Library: HackerTube export (2026-10-31) and open-index/hacker-news. Upstream summaries and classifications may contain AI errors.

Views, duration and playback status refresh separately from the published catalog. When an update fails, existing data remains visible.

Selection checks
  • SaaS & AI candidates: Topic keywords do not match
  • Editor-approved picks: Editorial review is required

Rule matches identify candidates. They do not guarantee video quality or financial results.

About the library and its sources