No we should not support enum types derived from strings

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue May 11 13:53:17 UTC 2021


On 5/10/21 6:58 PM, deadalnix wrote:
>>
> 
> Sure, but look at this thread. D is crumbling under the weight, not of 
> the number f feature, but of the fact that a large portion of them 
> simply are unsound.
> 
> At this point, the decision made is to push the madness on the user. 
> Fair enough, but if the standard lib devs are not willing to put up with 
> it, why in hell would you expect anyone else to? Just look at what's in 
> the C++ standard lib or boost and compare to your average C++ project to 
> see the kind of gap in term of motivation to put up with bullshit exists 
> between standard lib devs and Joe coder. It's not even close.
> 
> This stuff ain't working properly so let's just given getting to work at 
> all is not how you iterate toward a great useful product.

In case you're referring to deprecating support for enum strings in 
phobos - definitely that's not pushing any madness anywhere. Adding said 
support was a mistake in the first place.


More information about the Digitalmars-d mailing list