Friday, February 03, 2012

There is Chaos in Pattern matching

I am going through Scala and F# to learn about Object/Functional Programming. To learn more about Functional Programming,I am fiddling with Haskell as well.

I have got good (reasonably ) understanding  of FP concepts and have been able to translate some examples from "ML for the working Programmer" to Scala,F# and Haskell. But,going is slow as
I switch languages.

One of the prime reason is Pattern matching. Each of these language has got it's own rules. It is like learning Regular Expressions where each variant has got different meta characters.


0 comments: