-
Notifications
You must be signed in to change notification settings - Fork 56
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Not sure if the issues tracker is the correct place to discuss it but I don't necessarily agree with this smell. Semantically speaking, both solutions are equivalent. Multiple function clauses are actually compiled to a case. Second, the multiple function version is quite more verbose and indirect, which I think makes reading the code harder. I think it is more preferred to go from multiple clauses to a case (perhaps to address "Complex multi-clause function"), than vice-versa. :)
fuelen, fishtreesugar, danferreira, adriankumpf, josecfreittas and 4 more
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation