Re:Programming Patterns I Like
by irjoe on Sunday June 30, 2019 @05:19AM
(#20317225)
Quite the opposite :) My preference would be to rely on pattern matching (unification) in the function head:
I just wanted an example of using guard clauses. It does depend on the actual code though, there's probably a more elixiry solution.
[ Parent
| on HN ]
There are no comments on this comment yet.