Wednesday, August 3, 2011

Aug 2011 Codeaholics on Mozart Oz and Haskell

http://codeaholics.hk


We had 2 sharing tonight focusing on programming languages: Haskell and Mozart Oz. There were a lots to take (little bit too much to me), but I found them inspiring.


Mozart Oz allows one to define a program with the paradigms you need, e.g. object-oriented, functional, or constraint logic programming. Another interesting feature is that the implementation could be transparent. You can send a message to a class, and the receiver may be not staying in the same memory as yours, e.g. perhaps it is another machine on the network. Really look forward to see some real life examples after Stewart's sharing.


William ended his Haskell tour by showing how to use Monad to build the JSON parser. The previous talks focus more on syntax and function definition of Haskell. I finally see the power of Haskell when William showed us the JSON parser. It was awesome, simple and highly readable. It was little bit brain-fucked when I tried to follow all the syntax, pattern matching and type classes thingy. However, it is really amazing when you see the neat final product. After seeing the JSON parser, everything makes sense to me now.


Thanks William spent so much time to prepare the Haskell tour, it has been 3 4 months since the Haskell Tour Part I. His presentation style is so attractive and entertaining, the content is well-prepared and inspiring, and Haskell is sexy.

No comments:

Post a Comment