ImportC

Jonathan M Davis newsgroup.d at jmdavisprog.com
Thu Dec 11 20:00:42 UTC 2025


On Saturday, December 6, 2025 2:29:09 PM Mountain Standard Time Walter Bright via Digitalmars-d wrote:
> We've been using a _ postfix in the DMD source code for avoiding collisions with
> keywords. Not many people do that, so it seems to be effective.

That's what the official style guide says to do when naming symbols which
would otherwise be keywords - https://dlang.org/dstyle.html#naming_keywords
- so in theory, that's the standard D way to solve the problem, but I don't
know what people do in practice.

- Jonathan M Davis






More information about the Digitalmars-d mailing list