Hi guys,<div><br></div><div>Just an idea: If you want to have Unicode in your code. There is always working solution that doesn't require to touch Erlang anyhow. You need to setup a pre-compile hook that will run kind off parse-transform tool (PTT) that will pre-process code and replace Unicode parts of ut to currently allowed set of chars. Of course in CRASH DUMPS you will see replaced atoms, but PTT can generate replacement table so, you can refer to the original Unicode value.</div>
<div><br></div><div>Yes, it is not very nice build-in Unicode support, but you can implement it right now! :-)</div><div><br></div><div>My 1 cent.</div><div><br clear="all"><div>Best regards,</div><div>Max</div><br><br>
<br><br><div class="gmail_quote">On Mon, Oct 22, 2012 at 3:55 PM, HH Veldstra <span dir="ltr"><<a href="mailto:hasan.veldstra@gmail.com" target="_blank">hasan.veldstra@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 Mon, Oct 22, 2012 at 12:33 PM, Jesper Louis Andersen<br>
<<a href="mailto:jesper.louis.andersen@erlang-solutions.com">jesper.louis.andersen@erlang-solutions.com</a>> wrote:<br>
><br>
> On Oct 22, 2012, at 11:24 AM, HH Veldstra <<a href="mailto:hasan.veldstra@gmail.com">hasan.veldstra@gmail.com</a>> wrote:<br>
><br>
>> +1. Outwith very specific circumstances allowing non-English code is<br>
>> dumb if for no other reason that it will drastically reduce the pool<br>
>> of programmers that can be hired to work on your system.<br>
><br>
> Not all unicode symbols are meant to be for foreign languages. There are some symbols which would be nice<br>
> to use in your programs. Some of the more mathematical code tend to use lots of greek symbols for instance. If you can name your variable with the right symbol, it becomes more readable since it is closer to what the paper writes.<br>
><br>
> But to be really powerful you need ways to infix operators as well, so you can write ⊕ for 'xor' and so on.<br>
<br>
</div>This might be off-topic now, but rather than modifying the core of a<br>
language for something that is of no clear benefit 99.99% of the time,<br>
one would be better off configuring their editor to handle the case<br>
you've described. This for Emacs for instance:<br>
<a href="http://www.emacswiki.org/emacs/PrettyLambda" target="_blank">http://www.emacswiki.org/emacs/PrettyLambda</a> It has the benefit of not<br>
interfering with how other people like to see the code, and it takes<br>
way less time to set up than it is to even argue about the subject of<br>
this thread, much less wait for the suggestions to be implemented.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br></div>