3 ms·
Excerpt: "Also, each mapping in the table acts as an “if” statement because it only executes if the pattern is matched." This can be generalized as: Pattern Ma
by peter_d_sherman 8y ago
Excerpt: "Also, each mapping in the table acts as an “if” statement because it only executes if the pattern is matched."
This can be generalized as: Pattern Matching = if statement.
I don't know nor can I prove that that's true under all circumstances, however...
But, an interesting article.