Implicit enum conversions are a stupid PITA

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Mar 25 12:33:05 PDT 2010


On 03/25/2010 02:28 PM, Nick Sabalausky wrote:
> "Andrei Alexandrescu"<SeeWebsiteForEmail at erdani.org>  wrote in message
> news:hogc1o$2pm8$1 at digitalmars.com...
>> On 03/25/2010 01:33 PM, bearophile wrote:
>>> Andrei Alexandrescu:
>>>
>>>> I encourage you to code that up and see how it swims.<
>>>
>>> The idea of using that syntax gives me nausea, I can't use that even
>>> if I implement that myself.
>>
>> I believe you're exaggerating.
>>
>
> Of course he is. But using mixins to "solve" every need that comes up is a
> bit like saying "LISP does everything!" even though LISP gets that flexibity
> by imposing a butt-ugly syntax ("Lost In Stupid Parenthesis", anyone?) on
> pretty much everything.

I'm not saying to use mixins to solve every need that comes up. I'm 
saying it's worth trying them to solve a few obscure needs.

Andrei



More information about the Digitalmars-d mailing list