Re:JavaScript Pattern Matching Proposal
by karmajunkie on Wednesday April 25, 2018 @02:51PM
(#16924776)
I'm guessing you've not worked with pattern matching of the kind you see in F# or Elixir before? Yes, JS would definitely be better off having this available. Well-developed pattern matching can actually obviate the need for conditionals in a lot of cases, which makes for far cleaner code.
[ Parent
| on HN ]
There are no comments on this comment yet.