Naming things: Phobos Programming Guidelines Propsal

Chad J chadjoan at __spam.is.bad__gmail.com
Wed Jul 29 14:17:37 PDT 2009


Chad J wrote:
> Ary Borenszweig wrote:
>>
>> 1. class Connect : Action {} // wrong, Connect not a noun
>> 2. class ConnectAction : Action {} // wrong, repeats Action
>> 3. ...?
>> 4. The universe expolodes.
> 
> Why would there be a Connect class?
> 
> class Connection : Action {}

Nevermind that might not actually make sense.

> 
> tada!  English words can often be nounized.

Sorry for the noise.



More information about the Digitalmars-d mailing list