To eliminate the ambiguity, one would have to disallow all variable names
that start with the letter "e". At which point, one might as well go all
the way and just disallow using "e" altogether and rename the language to
Gadsby.

On Mon, Jan 5, 2015 at 1:41 PM, Peter Mancini <pe...@cicayda.com> wrote:

> That is a case of e being overloaded. It helps with the OP's issue though.
> For the scientific notation issue I would suggest choosing which is more
> useful, natural e or using e for a base ten exponent.
>
> On Monday, January 5, 2015 12:22:11 PM UTC-6, Stefan Karpinski wrote:
>>
>> On Mon, Jan 5, 2015 at 12:55 PM, Peter Mancini <pe...@cicayda.com> wrote:
>>
>>> Usually a language handles this problem by making the constants such as
>>> p and e as reserved. Thus you can't create a new variable with those names
>>> and since they are constant you can't assign to them without raising an
>>> error.
>>>
>>
>> That doesn't help here since `2e+1` would still mean something different
>> than `2e + 1`.
>>
>

Reply via email to