On 2013-09-11 21:57, Piotr Szturmaj wrote:

Delphi designers realized this problem years ago and they came up with a
solution:
http://docwiki.embarcadero.com/RADStudio/XE4/en/Fundamental_Syntactic_Elements#Extended_Identifiers


Basically, Delphi allows escaping reserved identifiers with a '&'. I
wonder how D solves that problem when interfacing to COM classes if they
have for example a function named "scope".

Scala does it as well: `keyword` if I recall correctly. Seems like you can put basically anything between the backticks in Scala.

--
/Jacob Carlborg

Reply via email to