Y
Hacker News
new
|
ask
|
show
|
jobs
by
kolektiv
5700 days ago
One of those times when I hugely miss languages with pattern matching/guards.
fact(1) = 1 fact(n) = n * fact(n-1)
Seems much more readable to me.