[erlang-questions] A proposal for Unicode variable and atom names in Erlang.
Mon Oct 22 12:51:31 CEST 2012
Should we also forbid quoted atoms to avoid evil atoms like '
% this one that contain comments and newlines
and_also() -> some_code.'? Or should we do the usual thing,
let our coding environment inform us of the nature of the
characters through lexical highlighting?
Le 22 oct. 2012 à 12:45, Yurii Rashkovskii a écrit :
> Also, consider this: there are characters that look the same but encoded differently. We don't need to go far: the colon character. Lets suppose Erlang's "native" colon is U+003A. Now, there is at least three characters that look very similar: U+A789, U+2236, U+05C3. Now you can produce a code that will confuse the hell out of you. Which colon is the right colon?
> On Monday, October 22, 2012 3:36:20 AM UTC-7, Loïc Hoguin wrote:
> On 10/22/2012 08:00 AM, Anthony Ramine wrote:
> > Also non-latin users who don't know English should be able to use
> > atoms and variables they understand.
> Can't stress this enough.
> Loïc Hoguin
> Erlang Cowboy
> Nine Nines
> erlang-questions mailing list
More information about the erlang-questions