Erlang Pattern Matching for Network Programming

Murphees Rant - Werner Schuster - August 28, 2006

Be sure to read this series on Network programming with Erlang. The first part gives a short intro to Pattern Matching in Erlang.
I‘ve been looking at Erlang recently, and while it‘s mostly known for the concurrency features (message passing), I was quite pleased to see the use of Pattern Matching in the language. If you think of programming state machines, then this is a particularly useful feature. Now rememeber that (network) protocols are modelled as state machines, and you can see how Erlang can simplify your code significantly.



Categories: Blogs  Murphees Rant