On Saturday, 16 June 2018 at 06:47:59 UTC, Jonathan M Davis wrote:
On Saturday, June 16, 2018 06:08:17 DigitalDesigns via
Digitalmars-d wrote:
When an identifier starts with __, allMembers does not return
it. This is very bad behavior! It can silently create huge
problems if the programmer is not aware of the bug.
Instead, if you want to keep the current behavior at least
create an error or warning rather than silently create a bug
to waste the users time tracking it down.
I would point out that identifiers that start with two
underscores are supposed to be reserved for the compiler.
Declaring them yourself is begging for trouble in general.
- Jonathan M Davis
So, you are saying that it's ok to beat me over the head and
cause me trouble simply because I used __? Seriously? I thought D
was all about making the programmers life easier and not more
difficult! Thanks for letting me know! I guess it's time to go
back to C#.