Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #32055
| References | <CAFqGZRE1LbAgoOCAKuynYBw4Rj6++p+misZrsXmv1nwivHuNwg@mail.gmail.com> <5087E540.8060504@davea.name> <CAFqGZRFxfe=_N+1mhSD7ObedHgy6j9vKUhMgbU0smfOEC-wEyg@mail.gmail.com> <CANaSqUeHEvoPvuKzMOsYD8z1s6sXDV1XJQOZKvBh+cbd=n7pGQ@mail.gmail.com> <CAPTjJmoEwnrsPsHEO7wRqKhyNd_P3qDpXu3bRfOPfZF0FSY69g@mail.gmail.com> |
|---|---|
| From | Zero Piraeus <schesis@gmail.com> |
| Date | 2012-10-24 12:10 -0400 |
| Subject | Re: classes |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2784.1351095030.27098.python-list@python.org> (permalink) |
: On 24 October 2012 11:18, Chris Angelico <rosuav@gmail.com> wrote: > On Thu, Oct 25, 2012 at 2:14 AM, Zero Piraeus <schesis@gmail.com> wrote: >> [... on return values and side effects ...] > > Side point: It's not that it's *bad* code or even bad style; It's a matter of taste, sure, but especially for a beginner, it's easy to find yourself using a method for its return value and forgetting that it actually does something to the object as well ... and then getting bitten later. > it just isn't the way Python generally does things. When in Rome ... :-) -[]z.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: classes Zero Piraeus <schesis@gmail.com> - 2012-10-24 12:10 -0400
csiph-web