Erlang Pattern Matching for Network Programming
Murphees Rant - Werner Schuster - August 28, 2006Be 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
Erlang on Twitter
» statonjr (Larry Staton Jr.): RT @jerrydantonio: I’ve released an update to my gem for adding #Erlang-style function pattern matching to #Ruby. https://t.co/d0tphfx8zB
» bryceverdier (Bryce): @TheColonial Just to ruffle your feathers (because I’m a good friend like that) http://t.co/ogWRo3g23Z
» 5HT (Namdak Tonpa): RT @lhoguin: Tagged Cowboy 0.8.5 https://t.co/nfJATuaV8g Comes with a brand new manual http://t.co/BFP4GTwb5b Enjoy! Merging SPDY next. #er…
» Muh_Erlang (M. Erlangga Pangestu): Seminggu gk baca buku ini terasa seperti satu tahun
» nblumhardt (Nicholas Blumhardt): @bentayloruk given the opportunity to dig into FP, there are so many interesting options - F#, but also Erlang, Haskell, Clojure, ... :)
» abs (Andrei Soroker): Everything we’re trying to do will be very, very successful as long as there are no IF statements in our server code. #erlang
» secboffin (Graham Lee): @rob_rix @klaaspieter @me1000 @appden but for some reason only Erlang lets us design for that.
[foo releaseWithCompletionHandler:^(){}];
» seancribbs (Sean Cribbs): @mrb_bk Yes, it seems it is “make implementing the goals easier”, which might be a non-starter for Erlang
» BarbaraColton1 (BarbaraColton): Process so income erlang computer technologist http://t.co/Ya2v4GdPdq software enterpriser seo instrumentality http://t.co/sFbG9nn53J
» yrashk (Yurii Rashkovskii): RT @RamCSingh: Going to be back in Stockholm for June #Erlang User Conference. Starting “Swedishness” reacclimatization process now: http:/…
Statistics
Number of aggregated posts: 10651
Most recent article: May 21, 2013
Latest comments
» Moraru on This is Why You Spent All that Time Learning to Program: It is true that computer science was a pain in the back at time that i’ve had to learn it…
» Commercial hand dryers on Couchbase Meetup at new HQ: Buy online from here where you will get so much of variety in Commercial hand dryers for people. If you…
» Fort McMurray Homes on Motivated Reasoning and Erlang vs Python vs Node: I don’t really understand why this post is motivational? I don’t even see a post, just a title. Fort McMurray…