Rainy <[EMAIL PROTECTED]> at Dienstag 10 Juni 2008 02:53:
> Well, I agree, this is terrible. If I were Guido I'd
> make a very explicit rule that a certain naming
> scheme is preferred and other schemes are very bad.
FWIW, there is a preferred naming scheme outlined in PEP 8.
--
Freedom is alw
[EMAIL PROTECTED] <[EMAIL PROTECTED]> at Montag 09
Juni 2008 23:39:
> On 9 juin, 20:05, "Sebastian \"lunar\" Wiesner"
> <[EMAIL PROTECTED]> wrote:
>> Rainy <[EMAIL PROTECTED]> at Montag 09 Juni 2008 19:29:
>>
> (snip)
>> > From what I understand, scheme can have variables like var-name. I'm
>> >
On Jun 10, 6:59 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
> On Mon, 9 Jun 2008 17:53:58 -0700 (PDT), Rainy <[EMAIL PROTECTED]>
> declaimed the following in comp.lang.python:
>
>
>
> > This is actually pretty nice. I think I like this much better
> > than C/Java/etc convention. I wouldn't use
Rainy wrote:
I have a stylistic question. In most languages words in var. name are
separated by underscores or cap letters, resulting in var names like
var_name, VarName and varName. I don't like that very much because all
3 ways of naming look bad and/or hard to type. From what I understand,
sch
On Jun 9, 5:34 pm, Alexander Schmolck <[EMAIL PROTECTED]> wrote:
> Rainy <[EMAIL PROTECTED]> writes:
> > I have a stylistic question. In most languages words in var. name are
> > separated by underscores or cap letters, resulting in var names like
> > var_name, VarName and varName. I don't like tha
On Jun 9, 5:45 pm, Lie <[EMAIL PROTECTED]> wrote:
>
> As Sebastian have said, it just can't work like that in python and
> most languages. var1-var2 is a subtraction, because - is an operator.
> Operator must allow spaces and lack of spaces, how would you want
> these to be interpreted then: a+b,
On Jun 10, 3:38 am, Rainy <[EMAIL PROTECTED]> wrote:
> On Jun 9, 2:05 pm, "Sebastian \"lunar\" Wiesner"
>
> <[EMAIL PROTECTED]> wrote:
> > Rainy <[EMAIL PROTECTED]> at Montag 09 Juni 2008 19:29:
>
> > > I have a stylistic question. In most languages words in var. name are
> > > separated by unders
On 9 juin, 20:05, "Sebastian \"lunar\" Wiesner"
<[EMAIL PROTECTED]> wrote:
> Rainy <[EMAIL PROTECTED]> at Montag 09 Juni 2008 19:29:
>
(snip)
> > From what I understand, scheme can have variables like var-name. I'm
> > curious about reasons that python chose to disallow this.
>
> "-" is an operato
Rainy <[EMAIL PROTECTED]> writes:
> I have a stylistic question. In most languages words in var. name are
> separated by underscores or cap letters, resulting in var names like
> var_name, VarName and varName. I don't like that very much because all
> 3 ways of naming look bad and/or hard to type.
On Jun 9, 2:05 pm, "Sebastian \"lunar\" Wiesner"
<[EMAIL PROTECTED]> wrote:
> Rainy <[EMAIL PROTECTED]> at Montag 09 Juni 2008 19:29:
>
> > I have a stylistic question. In most languages words in var. name are
> > separated by underscores or cap letters, resulting in var names like
> > var_name, V
On Jun 9, 7:29 am, Rainy <[EMAIL PROTECTED]> wrote:
> ... Another question I have is what
> other languages allow this naming scheme?
The most widely used such language would probably be COBOL,
where you write things like
SUBTRACT DISCOUNT FROM LIST-PRICE GIVING AMOUNT-DUE
I doubt that syntax
Rainy <[EMAIL PROTECTED]> at Montag 09 Juni 2008 19:29:
> I have a stylistic question. In most languages words in var. name are
> separated by underscores or cap letters, resulting in var names like
> var_name, VarName and varName. I don't like that very much because all
> 3 ways of naming look b
On Jun 9, 1:42 pm, Gary Herron <[EMAIL PROTECTED]> wrote:
> Rainy wrote:
> > I have a stylistic question. In most languages words in var. name are
> > separated by underscores or cap letters, resulting in var names like
> > var_name, VarName and varName. I don't like that very much because all
> >
Rainy wrote:
I have a stylistic question. In most languages words in var. name are
separated by underscores or cap letters, resulting in var names like
var_name, VarName and varName. I don't like that very much because all
3 ways of naming look bad and/or hard to type. From what I understand,
sch
14 matches
Mail list logo