title: Erlang Code Snippet that shows off its benefits?
body: <p>I'm giving a small presentation to a group of C/C++ programmers who have very little experience with functional languages. Part of the presentation mentions Erlang, and I would like to give a specific small code example. </p>
  
  <p>There is a ton of awesome information on StackOverflow  about how/where Erlang is used and its advantages. One of the most common advantages I see is how it can do a lot with just a little terse code, especially compared to C/C++. </p>
  
  <p>I am looking for a good code snippet of Erlang that simply illustrates these types of benefits. Especially something thats easily done in Erlang with few lines, that would be much more complicated in C/C++.</p>
  
  <p>Anyone have any interesting suggestions?</p>