Y
Hacker News
new
|
ask
|
show
|
jobs
by
eru
4277 days ago
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.
1 comments
sitkack
4277 days ago
Pattern matching is welcomed everywhere, it saves conditionals and keeps the code clean.
link