Comment
Comment by verttii
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.
Be the first to share your thoughts.