[thelist] What's the reasoning behind not starting IDs with anumber?

Will Mo willthemoor at gmail.com
Thu Jan 11 18:11:59 CST 2007


Thanks to all.  Some great info.

viva evolt.


Will


On 1/11/07, jason.handby <jason.handby at corestar.co.uk> wrote:
>
> <snip>
>
> If you allow identifiers to start with digits, you don't know for sure
> at the tokenizing stage whether something should be treated as a number
> or an identifier -- and the tokenization rules are different for the
> two. For example, _ is a valid character in an identifier but not in a
> number, whereas . is valid in a number but not in an identifier.
>
>
> I think that's why!
>
>
>
> Jason
> --
>
>



More information about the thelist mailing list