Website as a Function From URL to HTML [video]
Posted26 days agoActive26 days ago
youtube.comTech Discussionstory
informativeneutral
Debate
20/100
Web DevelopmentTheoretical Computer ScienceProgramming
Key topics
Web Development
Theoretical Computer Science
Programming
Discussion Activity
Light discussionFirst comment
N/A
Peak period
2
0-1h
Avg / period
2
Key moments
- 01Story posted
Dec 10, 2025 at 11:01 AM EST
26 days ago
Step 01 - 02First comment
Dec 10, 2025 at 11:01 AM EST
0s after posting
Step 02 - 03Peak activity
2 comments in 0-1h
Hottest window of the conversation
Step 03 - 04Latest activity
Dec 10, 2025 at 11:32 AM EST
26 days ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 46219327Type: storyLast synced: 12/10/2025, 4:05:14 PM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
In this talk, we start fresh. Our design approach is driven by one simple insight: Static websites are just functions mapping URLs to HTML. This marks the beginning of our journey in developing our own SSG. In the end we arrive at a bespoke domain-specific language in OCaml.
While this exploration may sound theoretical – or even playful – it has substantial practical implications. By treating our website as a function, we can embrace robust engineering practices: clearly separating domain logic from presentation, following the single-responsibility principle, reducing coupling, and ensuring cohesion.