Code That Says Exactly What It Means
Kapendev
alexandroskapretsos at gmail.com
Sun Oct 26 11:16:20 UTC 2025
On Sunday, 26 October 2025 at 06:33:11 UTC, Peter C wrote:
> scopeprivate
Don't have a strong opinion about this because I'm not the target
user. The only time I use `private` is when I have something
temporary in my library or some internal C bindings. I can see it
being useful I guess for some people. The simplest solution now
is to prefix your "scopeprivate" functions with a `_`. Ugly names
are kinda powerful because you always feel weird about using
them. Same as `__traits` or `__gshared` I assume :)
You can also search for `_` in your source code. Not the solution
you want probably, but anyway.
More information about the Digitalmars-d
mailing list