HackerTube

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

Elm Europe4 HN recommenders · recommended in 4 months, 2019–2025
YouTube
talk · intermediate · evergreen · 2019–2025 on HN

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.

Recommended as the argument for code colocation and delaying abstraction.

4 comments from Hacker News

@gabigrin2024-02 · in “Clean your codebase with basic information theory”

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

Strongly recommends View on HN
@yakshaving_jgt2022-02 · in “Code colocation is king”

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

Strongly recommends View on HN
@myaccountonhn2025-12 · in “Thoughts on Go vs. Rust vs. Zig”

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.

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

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

Recommends View on HN