Y
Hacker News
new
|
ask
|
show
|
jobs
by
ecshafer
1002 days ago
I think that you can replace almost any If else with pattern matching. Pattern matching makes type checks easier, which if you are really heavily using types through your program, makes pattern matching even better.