<div class="gmail_quote">On Thu, Jun 23, 2011 at 4:55 AM, Sid Carter <span dir="ltr"><<a href="mailto:sidcarter@gmail.com">sidcarter@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 23 June 2011 00:32, Kostis Sagonas <<a href="mailto:kostis@cs.ntua.gr">kostis@cs.ntua.gr</a>> wrote:<br>
><br>
> Others have already explained the problem and suggested a fix for it. But<br>
> these kinds of errors (forgetting one set of list brackets) are very common.<br>
> They can easily be avoided if one writes in more modern Erlang rather than<br>
> in Erlang of 10 years ago. In this particular case, you can use a spawn with<br>
> a fun that makes the call to function format_temps/1 clear:<br>
<br>
</div>And while searching, I found this -><br>
<a href="http://www.erlang-factory.com/upload/presentations/347/Kostis.pdf" target="_blank">http://www.erlang-factory.com/upload/presentations/347/Kostis.pdf</a><br>
<br>
I suppose that's a good start on modern Erlang. Are there more? :)<br>
<font color="#888888"><br></font></blockquote><div>Great find. Also, wondering if there is a more generic 'Style Guide' (<a href="http://a.la">a.la</a> the PEP for Coding conventions, forgot the number).<br><br>BTW, the modern erlang code (slide#23), looks bit more "intimidating and crowded" compared to the extremely simple look that old Erlang code has.<br>
One of the merits of Erlang code, cited in some language comparisons was based on the LoC comparison, somehow the modern Erlang code seems to add a lot of volume. Although some refactoring done by TidiEr do seem to reduce LoC as well. Anyhow, I'm certainly bookmarking and exploring all suggestions in that presentation.<br>
</div></div>