Compiler error with static vars/functions

Don Clugston dac at nospam.com
Fri Feb 10 07:18:32 PST 2012


On 10/02/12 16:08, Artur Skawina wrote:
> On 02/10/12 15:18, Don Clugston wrote:
>> On 09/02/12 23:03, Jonathan M Davis wrote:
>>> On Thursday, February 09, 2012 14:45:43 bearophile wrote:
>>>> Jonathan M Davis:
>>>>> Normally, it's considered good practice to give modules names which are
>>>>> all lowercase (particularly since some OSes aren't case-sensitive for
>>>>> file operations).
>>
>> That's just a Walter thing, and it's bollocks. There's no need to use all lower case.
>
> No, having non-lower case filenames would just lead to problems. Like different
> modules being imported depending on the filesystem being used, or the user's
> locale settings.

I don't think it's possible without deliberate sabotage. You can't have 
two files with names differing only in case on Windows. And module 
declarations acts as a check anyway.

The D community is a *lot* of experience with mixed case names. No 
problems have ever been reported.



More information about the Digitalmars-d-learn mailing list