Re: Python

Chris Angelico via Python-list <[email protected]> Sun, 21 Dec 2025 23:59:48 +1100
Newsgroups gmane.comp.python.general
Message-ID <CAPTjJmpj4p+PhPm_rz7hcQjPaJF5beaASEV-_GNO2BaQSz9mQg@mail.gmail.com>
On Sun, 21 Dec 2025 at 23:31, Peter J. Holzer <[email protected]> wrote:
> There is the concept of "pythonic" Code (just like there is a concept of
> idiomatic code in (almost) any language), but if you ask 100 randomly
> chosen Python programmers whether the use of += is pythonic, I doubt
> that more than a handful would say no.
>

I would expect the opposite. It's in the language for a reason. Is it
somehow more Pythonic to repeat yourself?

ChrisA