Hacker News new | ask | show | jobs
by siddharthbhola 3351 days ago
good approach taken from scala programming language. makes things simpler and shorter.
1 comments

It is an old concept used in most functional languages, like ML, haskell or even Prolog via unification.

So not an invention of scala, only that is also lives on the JVM.

http://wiki.c2.com/?PatternMatching