What Makes A Programming Language Good
spir
denis.spir at gmail.com
Wed Jan 19 02:57:42 PST 2011
On 01/18/2011 07:10 PM, bearophile wrote:
> spir:
>
>> The D styleguide requires on one hand capitalised names for types, and
>> lowercase for filenames on the other. How are we supposed to make them
>> match?
>
> Why do you want them to match?
Because when a module defines a type Foo (or rather, it's what is
exported), I like it to be called Foo.d. A module called doFoo.d would
certainly mainly define a func doFoo. So, people directly know what's in
there (and this, from D's own [supposed] naming rules :-). Simple, no?
Denis
_________________
vita es estrany
spir.wikidot.com
More information about the Digitalmars-d
mailing list