D dropped in favour of C# for PSP emulator

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Fri May 11 21:34:54 PDT 2012


"Mehrdad" <wfunction at hotmail.com> wrote in message 
news:hnottedhszpplpbqtvyx at forum.dlang.org...
> On Friday, 11 May 2012 at 23:47:18 UTC, Walter Bright wrote:
>>
>> I tend to agree. I think this is better (I've never gotten around to 
>> implementing it):
>>
>>   enum hasMember(T, string name) = __traits(hasMember, T, name);
>>
>> I.e. analogously to struct templates.
>
> Mmmm... I like the idea/syntax, but not the word "enum". It certainly has 
> nothing to do with enums, so I think it'd be even more confusing in that 
> regard. :)

While do I agree 100% that 'enum' is a horrid name (*much* worse than 
calling immutables "invariant" - that at least had *some* logic to it), that 
is a completely separate issue.




More information about the Digitalmars-d mailing list