News for hackers. Stuff that matters.
Re:FP vs. OO, from the trenches by chris-martin on Monday July 22, 2013 @11:06PM (#6088002)
What is complex about Scala's pattern matching? x matches the value x, x:A matches instances of A, A(x) matches if A.unapply(x) evaluates to a Some, and _ matches anything. Erasure throws a wrench into it, but otherwise it's pretty straightforward.

There are no comments on this comment yet.