Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #76739
| From | Denis McMahon <denismfmcmahon@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Distinguishing attribute name from varible name to make codes clear and definite |
| Date | 2014-08-21 14:23 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <lt4vda$ll5$1@dont-email.me> (permalink) |
| References | <mailman.13252.1408630431.18130.python-list@python.org> |
On Thu, 21 Aug 2014 22:13:32 +0800, luofeiyu wrote: > I feel that self.x and x will be confused in the following codes. Then don't call them self.x and x, call them self.internal_x and param_x, or any other pair of different names. You are the one who chooses what names to use in your code. -- Denis McMahon, denismfmcmahon@gmail.com
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Distinguishing attribute name from varible name to make codes clear and definite luofeiyu <elearn2014@gmail.com> - 2014-08-21 22:13 +0800 Re: Distinguishing attribute name from varible name to make codes clear and definite Denis McMahon <denismfmcmahon@gmail.com> - 2014-08-21 14:23 +0000
csiph-web