<div dir="ltr"><a href="http://joearms.github.io/2013/11/21/My-favorite-erlang-program.html" target="_blank">http://joearms.github.io/2013/11/21/My-favorite-erlang-program.html</a> is a fun starting point.  Set up three servers in a cluster, put the anything server on each, and then change each one around. Â <br><div><br></div><div>Next, start a supervised gen_server on each that crashes when you send it the wrong input.  Send it the wrong input.  Show the logs.  Have each save some state when sent messages. Â remsh to each node and sys:get_state each of the processes.</div><div><br></div><div>Now go into the code and add a function head that handles the wrong input, using pattern matching. Â hot-reload the module and call it to show that the hot reload worked.</div><div><br></div><div>Man, that sounds like so much fun.  Good luck!</div><div><br></div><div>F.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 4, 2014 at 4:18 PM, Curtis J Schofield (ram9) <span dir="ltr"><<a href="mailto:curtis@ram9.cc" target="_blank">curtis@ram9.cc</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am working on getting Erlang/Elixir adopted into our company. I've<br>
been asked to provide a simple example of something that your can only<br>
do in erlang.<br>
<br>
My reason for pushing to adopt this in our tech stack is that much of<br>
the system code I've written I feel I could write easier in Erlang and<br>
do it faster. I feel like one of the unique offerings of erlang<br>
relates to distributed computing or OTP reliable systems.<br>
<br>
<br>
Does anyone have thoughts on this question ? "What can I do in Erlang<br>
that I can't do in another language?"<br>
<br>
Ideally it would be something small that I could use as a demonstration.<br>
<br>
Thank you for any thoughts.<br>
<br>
Curtis<br>
<br>
<br>
<br>
<br>
---<br>
Modern Yoga vs Traditional Yoga<br>
<a href="http://swamij.com/traditional-yoga.htm#swamirama" target="_blank">http://swamij.com/traditional-yoga.htm#swamirama</a><br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br></div>