Flag proposal

Timon Gehr timon.gehr at gmx.ch
Mon Jun 13 14:47:28 PDT 2011


> On 6/13/11 4:02 PM, Nick Sabalausky wrote:
>> "Andrei Alexandrescu"<SeeWebsiteForEmail at erdani.org>  wrote in message
>> news:it3ne2$1g2f$1 at digitalmars.com...
>>> That actually does help, but not for enums used by more than one function.
>>> The other issues remain too.
>>>
>>
>> I would think that an enum used by more than one function *should* be listed
>> separately.
>
> Actually, not necessarily, if the definition is self explanatory. By the
> same argument a named argument with the same name and meaning in several
> functions doesn't necessarily have to be defined separately.
>
>
> Andrei

What about just not documenting the enum itself? This elegantly resolves the
'certain' vs. 'an' debate too :o).


Timon


More information about the Digitalmars-d mailing list