News for hackers. Stuff that matters.
Re:Pattern Matching with TypeScript by masklinn on Wednesday July 05, 2017 @02:37PM (#14705023)
> without exhaustiveness what you really have is destructuring- erlang is a fine example

That's completely nonsensical. Erlang does not have exhaustiveness yet is not limited to destructuring.

In fact, mere destructuring is probably the least common of pattern matching's uses in Erlang, much more common are asserting, filtering and dispatching (all of which may make further use of destructuring internally but destructuring is a sub-component of the match rather than the pricipal).

There are no comments on this comment yet.