<div class="gmail_quote">On Thu, Jul 21, 2011 at 7:02 PM, Amy Lear <span dir="ltr"><<a href="mailto:octopusfluff@gmail.com">octopusfluff@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">This appears a little antagonistic. Jachym's responses appeared to be</div>
in good faith and serious to my perspective.<br>
<br>
I also don't make any kind of distinction between keywords with<br>
letters and keywords that are symbols, and I'm not clear on why this<br>
is important to change, at least in isolation. As Richard pointed out,<br>
if you're going to make syntax cleaner, you need to do it<br>
comprehensively.<br>
<br>
And I personally don't see any readability improvement, nor anything<br>
this permits us to do we couldn't before.<br>
</blockquote></div><br>Well, my apologies, but I'm having a bit of trouble wrapping my brain around the lack of aesthetic sense here. So forgive me for overreacting.<div><br></div><div>Here are some strategies to delimiting tokens that make sense to me:</div>

<div><br></div><div>"{" ... "}" - the oft reviled curly brace approach. These are a paired set of tokens that match.</div><div><br></div><div>"beginningtoken" ... "endingtoken" - these match at least in that they're words, and perhaps their meaning describes how they represent the beginning and end of a block of code<br clear="all">

<br></div><div>"->" ... "." - these don't do a great job of matching up but they're kind of acceptable because they're both symbols. The "->" character looks like an arrow and makes a decent enough beginning token. The "." token has a long history as the period character at the end of a sentence and imparts this is where a function ends.</div>

<div><br></div><div>Now compare this to:</div><div><br></div><div>"->" ... "end"</div><div><br></div><div>Seriously. WTF is that? Those two tokens do not match up whatsoever.</div><div><br></div><div>

The "->" token, elsewhere in Erlang, is found in "forms", which are statements in that they do not return a value. They define functions and can't be used from things which only comprehend Erlang expressions, such as eshell.</div>

<div><br></div><div>The "end" token, elsewhere in Erlang, is only found in expressions, like "case", "if", "receive", and "try". Expressions return a value.</div><div><br>

</div><div>Erlang fun syntax jams together the "->" token and the "end" token in Erlang's lambda expression. In my opinion "->" does not belong in this context. All of the other Erlang expressions are delimited by keywords. "->" and "end" just don't match up as beginning and ending tokens.</div>

<div><br>-- <br>Tony Arcieri<br>
</div>