Submission timeline
2007–2026One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.
First comments on top threads
HN comment orderElixir has a nice take on this with the `with` keyword/macro with {:ok, file_handle} <- File.open(filename), {:ok, contents} <- IO.read(file_handle), {:ok, parsed} <- MyModule.parse(contents) do {:ok, parsed} end what this does is run the functions in order top to bottom, and if the return value from each function doesn't match with what is on the left, it returns early with the thing that didn't match, otherwise it continues. This means you don't need to write each function to take a…
What I found interesting is that if you have a pipe/filter architectural style, your happy path stays completely free of error handling, because when a filter doesn't have a good result, it just doesn't pass any data to the next filter in line. Done! You can then centralize the error handling by having a "stderr"-like output on your filters. When you have a call/return architectural style, you need to return something, and thread the result along, so you need to…
There are startling similarities with river-oriented programming: http://xeny.net/HOtMEfSPRIbNG
The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.
- Breakout years
- 2
- Total points
- 610
- Total comments
- 327
100+ points or 50+ comments
reference only — not used in Hall rules or ranking
reference only — not used in Hall rules or ranking
Every submission
| Date | Title as submitted | By | Points | Comments |
|---|---|---|---|---|
| 2016-08-18 | Railway Orientated Programming | adgasf | 2 | 0 |
| 2018-05-05 | Railway Oriented Programming | jxub | 1 | 0 |
| 2018-06-18 | Railway-Oriented Programming (2015)First breakout | tosh | 260 | 160 |
| 2021-11-16 | Railway Oriented Programming | corentin88 | 2 | 0 |
| 2022-05-17 | Railway Oriented Programming | lobo_tuerto | 3 | 1 |
| 2023-01-05 | Railway Oriented Programming | thunderbong | 2 | 0 |
| 2023-05-22 | Railway Oriented Programming | vyrotek | 4 | 0 |
| 2023-08-18 | Railway Oriented ProgrammingHall induction · Best thread · Latest 20+ point return | jchook | 332 | 166 |
| 2025-11-19 | Railway Oriented Programming | sandruso | 3 | 0 |
| 2026-02-06 | Railway Oriented Programming | tosh | 1 | 0 |
