Re: Python

c186282 <[email protected]> Thu, 18 Dec 2025 04:25:35 -0500
Newsgroups comp.os.linux.misc,alt.folklore.computers,comp.lang.python
Organization wokiesux
Message-ID <[email protected]>
On 12/18/25 01:54, rbowman wrote:
> On Wed, 17 Dec 2025 23:02:24 -0500, c186282 wrote:
> 
>>     Oh, I usually write "i=i+2". It's a bit more clear and becomes the
>>     same code anyway. += is more a 'C' thing.
> 
> And Python, C#, JavaScript, C++, ...

   Well, I know it *works* ... I just choose not
   to do it in Python. Everyone has their 'style'.

> https://peps.python.org/pep-0008/
> 
> "assignment (+=, -= etc.), comparisons (==, <, >, !=, <=, >=, in, not in,
> is, is not), Booleans (and, or, not)."

   But isn't  &&  and  ||  more better ? If the
   meaning is more obscure then it MUST be better !  :-)

> There's some benighted language that does not have += etc.  Maybe R. I
> looked at that briefly before deciding anything I could do in R I could do
> in Python without learning new weirdness.

   'R' ??? You must have some very special needs !