Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
eru
11y ago
0 comments
Save
Share
Even though, pattern matching (and algebraic datatypes) would work just as well in an imperative language as in a function setting.
(Not sure, whether you'd need garbage collection to make pattern matching really useful, though.
0 comments
1 comments · 1 top-level
top
newest
oldest
sitkack
11y ago
Pattern matching is welcomed everywhere, it saves conditionals and keeps the code clean.
j
/
k
navigate · click thread line to collapse