Elm Europe 2017 - Evan Czaplicki - The life of a file
What it is
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.
- 4 people recommended it
- 4 different months
- 2 strong recommendations
- first 2019, last 2025
What HN commenters said
“Just stick everything in the same file until it actually hurts. This presentation[0] gets it right.”
Argues for keeping everything in one file until it hurts.
yakshaving_jgt, 2022-02 · Strong recommendation · in “Code colocation is king”
“this great talk by Evan Czaplicki (Elm creator)”
Great talk by Elm's creator on structuring codebases.
gabigrin, 2024-02 · Strong recommendation · in “Clean your codebase with basic information theory”
“The creator of Elm has a talk that mentions this”
Elm creator talks about premature extraction and abstractions.
hombre_fatal, 2019-02 · Recommendation · in “38% of bugs at Airbnb could have been prevented by using types”
“Here is one about how to structure a project (roughly)”
Talk on how to structure a project functionally.
myaccountonhn, 2025-12 · Recommendation · in “Thoughts on Go vs. Rust vs. Zig”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: elm, code structure, premature abstraction, colocation, evan czaplicki
Also recommended by the same people
talkElm Europe 2017 - Richard Feldman - Scaling Elm AppsElm Europe · 2 HN recommenders · 2019–2022
commentaryDebunking Dr. Robert Lustig's Claims from The Huberman Lab Podcast | Educational Video | BiolayneDr. Layne Norton · 2 HN recommenders · 2024–2025
documentaryDominion (2018) - full documentary [Official]Farm Transparency Project · 10 HN recommenders · 2019–2024
talkCaptain Disillusion: World's Greatest Blenderer - Live at the Blender Conference 2018Captain Disillusion · 4 HN recommenders · 2019–2022
talkRailsConf 2014 - All the Little Things by Sandi MetzConfreaks · 15 HN recommenders · 2015–2025
talk"Simple Made Easy" - Rich Hickey (2011)Strange Loop Conference · 14 HN recommenders · 2022–2026
talk"Making Impossible States Impossible" by Richard Feldmanelm-conf · 9 HN recommenders · 2017–2026
talkHow To Design A Good API and Why it MattersGoogle TechTalks · 12 HN recommenders · 2011–2025