<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div><span>I like "Erlang SDK" better than "OTP" by the way, even if it feels a bit old fashioned. It gets the point across, at least.</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>I've found gen_servers/gen_fsm/etc awkward when some sub-problem cries out for selective receive.</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>Best,</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>Thomas</span></div><div class="yahoo_quoted" style="display: block;"> <br> <br> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Sunday, February 16, 2014 12:44 PM, Joacim Grebenö <jocke@tail-f.com>
wrote:<br> </font> </div> <blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div class="y_msg_container">Note. I love the Erlang SDK (just trying avoid the *TP word to see how it feels) and use it heavily. It is just the gen_server that takes away the fun. We need more fun and not less.<br><br>Den 16 feb 2014 12:28 skrev =?ISO-8859-1?Q?Joacim_Greben=F6?= <<a ymailto="mailto:jocke@tail-f.com" href="mailto:jocke@tail-f.com">jocke@tail-f.com</a>>:<br>><br>> I have read <a href="http://www.erlang.org/doc/design_principles/spec_proc.html" target="_blank">http://www.erlang.org/doc/design_principles/spec_proc.html </a>over the years and only opted to implement parts of all the overhead, i.e. to get the part of OTP functionality I really need and no more.<br>><br>> The gen_server is is top heavy and boring and remindes me of Java Enterprise Beans.<br>><br>> Agile and fun
is better than top heavy and boring. In the short run, and in the long run.<br>><br>> But this is all me.<br>><br>> Den 16 feb 2014 11:40 skrev Vance Shipley <<a ymailto="mailto:vances@motivity.ca" href="mailto:vances@motivity.ca">vances@motivity.ca</a>>:<br>> ><br>> > On Sun, Feb 16, 2014 at 11:06:08AM +0100, Joacim Grebenö wrote: <br>> > } I would only use the gen_server iff I needed hot code loading/upgrading. <br>> > } In the real world, and in the majority of cases, that seldom is needed. <br>> > } <br>> > } IMHO and within my experience of course. <br>> ><br>> > Lest other, less experienced, readers get the impression that it is that <br>> > simple let me just provide this pointer: <br>> ><br>> > <a href="http://www.erlang.org/doc/design_principles/spec_proc.html"
target="_blank">http://www.erlang.org/doc/design_principles/spec_proc.html </a><br>> ><br>> > To write a program which will work (properly) in an OTP compliant system, <br>> > you must receive and handle a number of system messages. Without OTP <br>> > compliance you have no supervision, debugging, release handling, observer <br>> > and I don't know what else. You are free to do so but I wouldn't recommend <br>> > this route for anyone else who hasn't mastered the environment. <br>> ><br>> > -- <br>> > -Vance <br>> _______________________________________________<br>> erlang-questions mailing list<br>> <a ymailto="mailto:erlang-questions@erlang.org" 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>_______________________________________________<br>erlang-questions mailing list<br><a ymailto="mailto:erlang-questions@erlang.org" 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><br><br></div> </blockquote> </div> </div> </div> </div></body></html>