Dennis Lee Bieber wrote:
> Unless it should be interpreted as (C/C)++, which would result in
> 2
No, since postfix ++ "returns before and increments after". But what
you say is true for ++(C/C).
Regards,
Björn
--
BOFH excuse #274:
It was OK before you touched it.
--
http://mail.python.org
> The thoughts of the inventor of Python on "Adding Optional Static
> Typing to Python" are at
> http://www.artima.com/weblogs/viewpost.jsp?thread=86641
> . I wonder if the idea will be implemented in Python 3.0.
No. He says it in another newer post and in PEP 3099, AFAIK.
--
EduardoOPadoan (e
[EMAIL PROTECTED] a écrit :
> Hello. Please tell me whether this feature request is sane (and not
> done before) for python so it can be posted to the python-dev mailing
> list. I should say first that I am not a professional programmer with
> too much technical knowledge.
>
> I would like to have
On Apr 14, 6:21 am, [EMAIL PROTECTED] wrote:
> Hello. Please tell me whether this feature request is sane (and not
> done before) for python so it can be posted to the python-dev mailing
> list. I should say first that I am not a professional programmer with
> too much technical knowledge.
>
> I wo
En Fri, 20 Apr 2007 00:41:04 -0300, Alex Martelli <[EMAIL PROTECTED]> escribió:
> Jorgen Grahn <[EMAIL PROTECTED]> wrote:
>
>> As a C and C++ programmer (not a C/C++ programmer), I have to say that
>
> Yeah, I wonder, what's C divided by C++ -- maybe about 0.731...?
C/C++ == 1 most of the time (b
In <[EMAIL PROTECTED]>, Alex Martelli wrote:
> Jorgen Grahn <[EMAIL PROTECTED]> wrote:
>
>> As a C and C++ programmer (not a C/C++ programmer), I have to say that
>
> Yeah, I wonder, what's C divided by C++ -- maybe about 0.731...?
Isn't it 1 unless `C` is 0? The increment happens after the di
Jorgen Grahn <[EMAIL PROTECTED]> wrote:
> As a C and C++ programmer (not a C/C++ programmer), I have to say that
Yeah, I wonder, what's C divided by C++ -- maybe about 0.731...?
Alex
--
http://mail.python.org/mailman/listinfo/python-list
On 4/14/07, James Stroud <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> But, if you have masochistic tendencies and want a lot of overhead in
> your programming, you can always bind yourself mercilessly to classes:
>
>
> class C(object):
>declared = ['bob', 'carol', 'ted', 'alice']
>
On 14 Apr 2007 03:21:18 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
...
> I would like to have something like the "option explicit" statement in
> Visual Basic which turns on C-like checking for declaration of
> variables. This is highly helpful for people who are coming from C/C+
> +, for
> "Martin" == Martin v Löwis <[EMAIL PROTECTED]> writes:
> [EMAIL PROTECTED] schrieb:
>> Hello. Please tell me whether this feature request is sane (and not
>> done before) for python so it can be posted to the python-dev mailing
>> list. I should say first that I am not a professional program
On Apr 14, 3:56 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> for prior discussion. The request is sane, but is also incomplete: there
> is no syntax suggested for the actual declarations of local variables,
> and no discussion whether this is meant to apply to local variables
> only, or also
Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
...
> In Python, the "variable" NAME does NOT define storage; unlike most
> other classical languages where the "variable name" is a storage
> address, and the value of the RHS is COPIED to that address. Python does
> not do such copying. Names
On Sat, 14 Apr 2007 15:55:03 +, Dennis Lee Bieber wrote:
> Names are references to the RHS object itself.
>
> a = 5
>
> means that somewhere in memory is an integer object with the value "5";
> the name "a" is now "pasted onto" that integer object.
That's not correct, as it implies t
Army1987 wrote:
> "jamadagni" <[EMAIL PROTECTED]> ha scritto nel messaggio
> news:[EMAIL PROTECTED]
>>> Languages like Perl and VB need a strict mode because they will
>>> auto-vivify variable for you. I.e. they will bring variables to life
>>> with defined or undefined values if you use them in
"jamadagni" <[EMAIL PROTECTED]> ha scritto nel messaggio
news:[EMAIL PROTECTED]
>> Languages like Perl and VB need a strict mode because they will
>> auto-vivify variable for you. I.e. they will bring variables to life
>> with defined or undefined values if you use them in a l-value (left hand
>>
> Languages like Perl and VB need a strict mode because they will
> auto-vivify variable for you. I.e. they will bring variables to life
> with defined or undefined values if you use them in a l-value (left hand
> side of an assignment) without having declared them prior. If you do
> that in Pyth
[EMAIL PROTECTED] wrote:
> Hello. Please tell me whether this feature request is sane (and not
> done before) for python so it can be posted to the python-dev mailing
> list. I should say first that I am not a professional programmer with
> too much technical knowledge.
>
> I would like to have so
[EMAIL PROTECTED] schrieb:
> Hello. Please tell me whether this feature request is sane (and not
> done before) for python so it can be posted to the python-dev mailing
> list. I should say first that I am not a professional programmer with
> too much technical knowledge.
I believe it has been req
[EMAIL PROTECTED] wrote:
> Hello. Please tell me whether this feature request is sane (and not
> done before) for python so it can be posted to the python-dev mailing
> list. I should say first that I am not a professional programmer with
> too much technical knowledge.
>
> I would like to have so
On Apr 14, 11:21 am, [EMAIL PROTECTED] wrote:
> Hello. Please tell me whether this feature request is sane (and not
> done before) for python so it can be posted to the python-dev mailing
> list. I should say first that I am not a professional programmer with
> too much technical knowledge.
>
> I w
Hello. Please tell me whether this feature request is sane (and not
done before) for python so it can be posted to the python-dev mailing
list. I should say first that I am not a professional programmer with
too much technical knowledge.
I would like to have something like the "option explicit" st
21 matches
Mail list logo