News for hackers. Stuff that matters.
Re:Two Years with Rust by fnord123 on Monday March 23, 2020 @03:59PM (#22668095)
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.
Re:Two Years with Rust by macintux on Monday March 23, 2020 @05:10PM (#22668782)
I would argue that depends on the language. Neither issue you describe is a problem in Erlang.