5 ms·
You mean that guards + destructuring would effectively be the same as pattern matching in function's params? Pattern matching would allow matching against more
by verttii 7y ago
You mean that guards + destructuring would effectively be the same as pattern matching in function's params? Pattern matching would allow matching against more complex data structures more comfortably though.