Is it possible to escape a reserved keyword in Import/module?

XavierAP n3minis-git at yahoo.es
Wed Jun 19 21:21:53 UTC 2019


On Wednesday, 19 June 2019 at 18:56:57 UTC, BoQsc wrote:
> I would like to make sure that my modules do not interfere with 
> d lang. Is there any  way to escape reserved words?

The only reason C# allows this is for interop or code generation 
for other languages that use the same keyword. For example 
"class" is an HTML attribute.

There is no excuse to do this for any other reason -- and C# 
gurus would also agree.

> I would like to make sure that my modules do not interfere

Then don't name them as keywords :)


More information about the Digitalmars-d-learn mailing list