CamelCase versus wide_names (Prothon)
Hugh Macdonald
hugh-m at moving-picture.com
Fri Apr 16 06:13:16 EDT 2004
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?)....
--
Hugh Macdonald
The Moving Picture Company
More information about the Python-list
mailing list