4 ms·
No way is it clearer. Moving a pattern match to the top level removes the obvious intent that two (or more) functions overload each other and remove the debug/t
by fnord123 7y ago
No way is it clearer. Moving a pattern match to the top level removes the obvious intent that two (or more) functions overload each other and remove the debug/trace point for figuring out why one body was chosen over another.
- macintux 7y agoI would argue that depends on the language. Neither issue you describe is a problem in Erlang.