Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion A proposal for Unicode variable and atom names in Erlang.
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jesper Louis Andersen  
View profile  
 More options Oct 22 2012, 7:33 am
From: Jesper Louis Andersen <jesper.louis.ander...@erlang-solutions.com>
Date: Mon, 22 Oct 2012 13:33:35 +0200
Local: Mon, Oct 22 2012 7:33 am
Subject: Re: [erlang-questions] A proposal for Unicode variable and atom names in Erlang.

On Oct 22, 2012, at 11:24 AM, HH Veldstra <hasan.velds...@gmail.com> wrote:

> +1. Outwith very specific circumstances allowing non-English code is
> dumb if for no other reason that it will drastically reduce the pool
> of programmers that can be hired to work on your system.

Not all unicode symbols are meant to be for foreign languages. There are some symbols which would be nice
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.

But to be really powerful you need ways to infix operators as well, so you can write ⊕ for 'xor' and so on.

I agree fully with the premise that this is also a question of readability  of programs. You *could* pick random characters as variable names. The compiler would understand it, but the readability would be hampered. To me, writing chinese symbols would yield the same level of obfuscation. With a larger alphabet comes great responsibility.

Jesper Louis Andersen
  Erlang Solutions Ltd., Copenhagen

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.