News for hackers. Stuff that matters.
Re:Mostly Adequate Guide to Functional Programming in JavaSc... by warfangle on Tuesday July 14, 2015 @06:39PM (#9888554)
1. Lisp doesn't have built in pattern matching, either. But, just like Lisp, there are libraries out there for it[0].

2. Would probably make more sense if it were a statically typed language. Don't most dynamically typed FPL need to emulate this?

3. Got an example of it being awkward that isn't helped with ES2015?

4. (item, list) => [item].concat(list)

[0]: https://www.npmjs.com/package/pattern-match

There are no comments on this comment yet.