A Polyglot's Guide to Multiple-Dispatch (2016)
Posted4 months agoActive4 months ago
eli.thegreenplace.netTechstory
calmpositive
Debate
20/100
Multiple DispatchProgramming LanguagesSoftware Design
Key topics
Multiple Dispatch
Programming Languages
Software Design
The article discusses multiple dispatch, a programming concept, and its implementation in various languages, sparking a discussion on language design and the expression problem.
Snapshot generated from the HN discussion
Discussion Activity
Moderate engagementFirst comment
4d
Peak period
9
84-96h
Avg / period
8
Comment distribution16 data points
Loading chart...
Based on 16 loaded comments
Key moments
- 01Story posted
Sep 7, 2025 at 2:49 AM EDT
4 months ago
Step 01 - 02First comment
Sep 10, 2025 at 8:37 PM EDT
4d after posting
Step 02 - 03Peak activity
9 comments in 84-96h
Hottest window of the conversation
Step 03 - 04Latest activity
Sep 11, 2025 at 11:10 AM EDT
4 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45155963Type: storyLast synced: 11/20/2025, 3:22:58 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.
Oh, wait, that's me :-)
...
...
...
Bueller?
Oh no, this is how lisp ruins people, isn’t it.
But lacking that, lisp could improve its syntax (did that, BTW not hard, just added some containers and a few standard infix operators, which all compile to lists).
And std::variant is now a better choice for cases like in the article above, where previously inheritance was used to represent a closed set of possible subtypes.
[0] https://en.wikipedia.org/wiki/Expression_problem
[1] https://craftinginterpreters.com/representing-code.html
Just a quick note that this post is the first in a series: see https://eli.thegreenplace.net/tag/multiple-dispatch for the full series