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 orderFunctional programming works just fine. If you want to take two isolated functions and make them behave in some complicated manner depending on how often one or both are called, simply refactor them into the state monad. I.e., replace f: a -> a with f: a -> State a, and do the same for g. This is likely to break stuff. In C, good luck figuring out what might be broken as a result. In a pure functional language, you…
Imagine you've implemented a large program in a purely functional way. All the data is properly threaded in and out of functions, and there are no truly destructive updates to speak of. Now pick the two lowest-level and most isolated functions in the entire codebase. They're used all over the place, but are never called from the same modules. Now make these dependent on each other: function A behaves differently depending on the number of times function B has been…
Flagged for bait-y title. This is one of those articles that contradicts its title in the first few sentences. Better titles: "Purely functional programming doesn't work" or "sometimes functional programming doesn't work, but I'm still a functional programming advocate".
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
- 135
- Total comments
- 109
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 |
|---|---|---|---|---|
| 2009-12-29 | Functional Programming Doesn't Work (and what to do about it) | blasdel | 6 | 0 |
| 2011-07-23 | Functional Programming Doesn't Work (and what to do about it)First breakout · Best thread | ColinWright | 71 | 54 |
| 2015-05-04 | Functional Programming Doesn't Work (and what to do about it) (2009)Latest 20+ point return | tosh | 43 | 54 |
| 2016-09-15 | Functional Programming Doesn't Work (2009) | pkd | 15 | 1 |
