shouting versus dotting

Simen Kjaeraas simen.kjaras at gmail.com
Wed Oct 8 14:05:37 PDT 2008


Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org> wrote:

> Simen Kjaeraas wrote:
>> Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org> wrote:
>>
>>> Leandro Lucarella wrote:
>>>> "enum" as the way to declare manifest constants were much more ugly  
>>>> than
>>>> "!(", and most of the people were against it. I don't see why ".("  
>>>> should
>>>> be introduced.
>>>
>>> Ugly or not, enumerated symbols were manifest constants to begin with.  
>>> That's kinda hard to argue against because it's a sheer fact.
>>
>> All bears are animals, so lets call all animals bears. See where this  
>> is wrong?
>
> The correct reasoning to apply is, if you see a white bear, would you  
> call it a different way?
>
> Andrei

Mayhaps. But to me, a manifest constant is not just a bear of a
different color, but possibly one with six legs, a prehensile tail,
bat wings, and riding a helicopter. And I'm pretty sure I would not
classify that as a bear, even if it still had fur and powerful jaws,
and would make for a fun teddy.

-- 
Simen



More information about the Digitalmars-d mailing list