Allows the use of part of the language keywords?
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Sat Aug 27 12:21:52 PDT 2016
On 8/27/2016 6:01 AM, Timon Gehr wrote:
> then not-entirely-trivial disambiguation has to be added to the parser. There's
> no ambiguity for the example in the OP though.
It also:
1. mucks with the usability of syntax highlighting, which is often based merely
on tokens.
2. makes it potentially much more difficult to add features to the language,
which is often done by finding new uses for the same keywords
3. is just plain confusing to the person learning the language
4. makes correctly diagnosing syntactic errors harder
There are a million words in the english language. Having a handful of reserved
words should not be a burden.
More information about the Digitalmars-d
mailing list