class x is hidden by y

Simen kjaeraas simen.kjaras at gmail.com
Thu Oct 7 06:11:10 PDT 2010


bearophile <bearophileHUGS at lycos.com> wrote:
> In D classes start with an upper case, and methods with a lower case  
> (and both generally use camelCase/CamelCase instead of underscores).
>
> So the way to write that code is:
>
> abstract class Foo {
>   protected:
>     void wrongType() {

Yes, if one is to slavishly follow the rules set out by someone else.
People may have other coding standards in their own homes.

-- 
Simen


More information about the Digitalmars-d-learn mailing list