[julia-users] Re: Possible ways to avoid confusability issues with using superscripts in variable names

2015-07-03 Thread Scott Jones
I would rather have them as well defined operators, rather than allowed as parts of identifiers, which would have been more consistent with other things in Julia, like sqrt() and cbrt() using the Unicode symbols as prefix operators, however, the reactions included things like pry them from my

[julia-users] Re: Possible ways to avoid confusability issues with using superscripts in variable names

2015-07-03 Thread Tom Breloff
I think I've flipped my position back and forth 6 times in the last few minutes while thinking about this. The mathematician in me wants those special characters to be well defined operators with the expected precedence, but the computer scientist in me thinks that's a horribly stupid idea

[julia-users] Re: Possible ways to avoid confusability issues with using superscripts in variable names

2015-07-02 Thread Kristoffer Carlsson
In my eyes this is a non issue. Symbols are symbols, 'x' is a symbol, '³' is a symbol, '∛' is a symbol. They all work the same. When you allow unicode it is always possible to write confusing code. On Friday, July 3, 2015 at 5:25:00 AM UTC+2, Scott Jones wrote: Starting in