analysis of constants for wx namespace reorg anization

Chris Olds writes:
[...]

> * WX (because we can, and it matches the idea that constants are
> usually in ALLCAPS):
-1

I'd vote a lerger negative number if I could. Your argument
is correct, but names that differ only in case is asking for trouble.
In addition, not all filesystems preserve case. I know there has
been a lot done in the import machinery to mitigate this, but I
don't think it's good to depend on it, especially not in the name
of simplification. Of the list you gave, I'd choose 'wxc' (+0.6).

AIRC, wxc is the name of the compiled library file for the C++
wxWindows code won't this cause problems? I think const is better,
and then if you want, you can say:

import wx.const as WX

and get the above effect, (which, btw, I vote +1 for) and if
you're scared by the wx vs. WX difference, you don't have to
use the idiom.

/Will Sadkin
Parlance Corporation

ยทยทยท

On 6 Mar 2003, Patrick K. O'Brien wrote: