Skip to content
HHackerTube.videoSurprise me

Elm Europe 2017 - Evan Czaplicki - The life of a file

Elm Europe 2017 - Evan Czaplicki - The life of a file on HackerTube: recommended by 4 Hacker News commenters across 4 separate months, 2019–2025.

Elm Europe

talk · intermediate · evergreen

Open on YouTube

Elm creator Evan Czaplicki's talk on how a file grows and when to split code up. He argues for keeping code in one file until it hurts and warns against premature extraction.

Why Hacker News recommends it

Recommended as the argument for code colocation and delaying abstraction.

people recommended it
4
separate months
4
strong recommendations
2
discussed on HN
2019–2025
“Just stick everything in the same file until it actually hurts. This presentation[0] gets it right.”
— yakshaving_jgt, Feb 2022, in “Code colocation is king”

What HN commenters said

4 Hacker News comments link this video. Each one links back to its thread.

gabigrinFeb 2024Strongly recommends

Great read, as always! The combination of the Elm reference and "coarsely structure codebases around CPU timelines and dataflow" statement reminded me of this great talk by Evan Czaplicki (Elm creator): ▶ this video

in “Clean your codebase with basic information theory” · View on HN

yakshaving_jgtFeb 2022Strongly recommends

Just stick everything in the same file until it actually hurts. This presentation[0] gets it right. [0]: ▶ this video

in “Code colocation is king” · View on HN

myaccountonhnDec 2025Recommends

There are a lot of lectures/speeches by the creator of elm and Richard Feldman that talk about how to think "functionally" Here is one about how to structure a project (roughly) ▶ this video I also think looking at the source code for elm and its website, as well as the elm real world example help a lot.

in “Thoughts on Go vs. Rust vs. Zig” · View on HN

hombre_fatalFeb 2019Recommends

Premature extraction can solidify premature abstractions and create pressure against reabstraction. The creator of Elm has a talk that mentions this: ▶ this video

in “38% of bugs at Airbnb could have been prevented by using types” · View on HN

Topics & tags

Software architecture & designFunctional programmingSoftware practice, open source & careerselmcode structurepremature abstractioncolocationevan czaplicki