HN2new | past | comments | ask | show | jobs | submitlogin
Pattern Matching in Ruby (pretheory.com)
7 points by bhb on Nov 12, 2007 | hide | past | favorite | 2 comments


Interesting that he didn't mention Prolog... Prolog's pattern matching is one of the reasons why I still look favorably at the language as a whole.


well yeah.

actually I noticed scala has pattern matching as a first class control construct. Its pretty amazing. Just right there in the language (which is not surprising, given the functional influence in it).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: