CamelCase versus wide_names (Prothon)
Paramjit Oberoi
p_s_oberoi at hotmail.com
Mon Apr 26 01:03:41 EDT 2004
>> If the language 'knew' that identifiers potentially consisted of
>> multiple words, maybe it could detect a few different kinds of
>> styles and automatically do the right thing?
>
> That could be achieved by making it case-insensitive and
> underscore-ignoring.
That would cause aliasing if the two words that form the
identifier also form a third word when put together.
For example:
if sys.platform = 'Windows CE':
win_ce = True
if feeling_pain:
wince()
More information about the Python-list
mailing list