Hacker Newsnew | 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).




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: