CamelCase versus wide_names (Prothon)

Wilk wilkSPAM at OUTflibuste.net
Fri Apr 16 09:38:53 EDT 2004


Hugh Macdonald <hugh-m at moving-picture.com> writes:

> On Fri, 16 Apr 2004 12:07:48 +0200
> Wilk <wilkSPAM at OUTflibuste.net> wrote:
>
>> Why not - instead of _ ?
>> 
>> def my-function()
>> 
>> it doesn't need shift on azerty and qwerty isn'it ?
>> 
>> and we already use it in natural langage...
>
> So what happens in the following code:
>
> data = 23
> my = 2
> my-data = 56
> value = 3
>
> new-value = my-data-value
>
> Or would it insist on:
>
> new-value = my-data - value
> or
> new-value = my - data - value
>
>
> I think having a character available for names that is also used elsewhere as an operator is a VeryBadThing(TM) (or should that be veryBadThing or very_bad_thing?)....

maybe it's possible to replace - by "minus" ?
I joke ! you're right, i keep wide_name

-- 
Wilk - http://flibuste.net



More information about the Python-list mailing list