Basic coding style
Matthias Walter
xammy at xammy.homelinux.net
Mon Nov 22 20:49:02 PST 2010
On 11/22/2010 06:21 PM, JimBob wrote:
> "bearophile" <bearophileHUGS at lycos.com> wrote in message
> news:icdnn4$2cnd$1 at digitalmars.com...
>
>> I have four or five times tried to explain why coding standards are
>> important for the
>> development of the D community
>>
> And them there stupid people just wont listen to ya. Thats mighty
> unreasonable of them, you being president of the world an all.
>
Come on guys, please don't flame here...
I don't like to force anybody in using a style they maybe don't like.
But on the other hand I think bearophile's arguments have some truth in
them.
What about adding a compiler switch that one can turn on and that warns
on obviously wrong names? Is this realistic? At least to check the usage
of underscores and captial first letter. The CamelCase can probably not
be verified, but hopefully a lot of programmers will use it, if the
compiler encourages them to not use underscores... Just an idea, you can
flame on, if you like.
Matthias
More information about the Digitalmars-d
mailing list