Elm Europe 2017 - Evan Czaplicki - The life of a file
Channel:Elm Europe · Length:47:01 · Published:2017-08-24 · Views:71892
Summary
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 HN recommends it
Recommended as the argument for code colocation and delaying abstraction.
Just stick everything in the same file until it actually hurts. This presentation[0] gets it right. — HN, 2022
Functional programming · Software architecture & design · Software practice, open source & careers
Subtitles (excerpt)
well welcome everyone I want to start just saying thanks to everyone for coming this is this is kind of crazy um I'm I'm Evan I made Elm and uh uh it's very exciting to be here um so I want to say thanks thanks one thanks for folks uh thanks folks for coming thanks to Tebow and Guillaume for setting things up and then like thanks to everyone who is helping get the technology setup and then like this thank you is like out of proportion right so like thank you to who who had the L have this tail I I I really appreciate that um but yeah so uh thanks everyone for coming and um I want to emphasize sort of a question that uh that I that has sort of guided Elm for the last couple years uh which is how do I grow Elm code and so this is a question that somehow always sounds topical so who remembers Elm before the elm architecture before them okay there are people there are people out there okay um so there was a time when that didn't exist and people would say how do I write a program um and so we sort of observed okay maybe we can call this thing there's a model there's an update of you we saw that pattern and they were like okay that's cool how do I grow a gnome program I was like okay uh so we had some more examples
On Hacker News
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): [VIDEO] — gabigrin, 2024-02
Just stick everything in the same file until it actually hurts. This presentation[0] gets it right. [0]: [VIDEO] — yakshaving_jgt, 2022-02
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) [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. — myaccountonhn, 2025-12
Premature extraction can solidify premature abstractions and create pressure against reabstraction. The creator of Elm has a talk that mentions this: [VIDEO] — hombre_fatal, 2019-02
Related videos
- Jordan Peterson debate on the gender pay gap, campus protests and postmodernism · Channel 4 News · 29:56
- Elm Europe 2017 - Richard Feldman - Scaling Elm Apps · Elm Europe · 59:51
- Debunking Dr. Robert Lustig's Claims from The Huberman Lab Podcast | Educational Video | Biolayne · Dr. Layne Norton · 57:39
- Captain Disillusion: World's Greatest Blenderer - Live at the Blender Conference 2018 · Captain Disillusion · 41:43
- Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · Confreaks · 53:21
- RailsConf 2014 - All the Little Things by Sandi Metz · Confreaks · 38:47
- The Soul of Erlang and Elixir • Sasa Juric • GOTO 2019 · GOTO Conferences · 42:02
- "Simple Made Easy" - Rich Hickey (2011) · Strange Loop Conference · 1:01:38
- "Making Impossible States Impossible" by Richard Feldman · elm-conf · 25:06
- William Byrd on "The Most Beautiful Program Ever Written" [PWL NYC] · PapersWeLove · 1:31:05
- 🚀 TDD, Where Did It All Go Wrong (Ian Cooper) · DevTernity Conference · 1:03:55
- How To Design A Good API and Why it Matters · Google TechTalks · 1:00:19
- The Value of Values with Rich Hickey · InfoQ · 31:43
- Bret Victor The Future of Programming · Joey Reid · 32:55
- Why Isn't Functional Programming the Norm? – Richard Feldman · Metosin · 46:09
- Overwatch Gameplay Architecture and Netcode · GDC Festival of Gaming · 1:04:03