Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #55711
| From | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: multiple values for keyword argument |
| References | (2 earlier) <alpine.LSU.2.00.1101291417350.7717@Tux.site> <8qijsgFgu1U1@mid.dfncis.de> <roy-8F5CD8.09032829012011@news.panix.com> <4D443631.3000502@stoneleaf.us> <mailman.1462.1296327905.6505.python-list@python.org> |
| Date | 2011-01-30 08:29 +1100 |
| Message-ID | <877hdn1jqv.fsf@benfinney.id.au> (permalink) |
| Organization | Unlimited download news at news.astraweb.com |
patty@cruzio.com writes: > > I, myself, use the spanish word 'yo' instead (less keystrokes, I > > hate 'self', and it amuses me); if I'm working with my numerical > > experiments I'll use 'n' or 'x'... although, when posting sample > > code to c.l.py I do try to use 'self' to avoid possible confusion. > > :) > > I am glad you said this. I have been avoiding understanding this > 'self', just accepting it :} For the time being, since my programs I > am creating are for my own use, I think I will make my own names up, > that are descriptive to me as the programmer, it's all going to be > interpreted anyway. Please consider that your code is written primarily for humans to read, and only incidentally for the machine to execute. (If it were primarily for the machine to execute and communication with humans was not an issue, you would be writing in machine code.) Consider that code written “only for my own use” frequently becomes more widespread; and it's impossible to know at the time of writing it whether that will be the case. It's prudent to write all such code as though it were for public consumption. -- \ “Generally speaking, the errors in religion are dangerous; | `\ those in philosophy only ridiculous.” —David Hume, _A Treatise | _o__) of Human Nature_, 1739 | Ben Finney
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: multiple values for keyword argument Roy Smith <roy@panix.com> - 2011-01-29 09:03 -0500 Re: multiple values for keyword argument Simon Brunning <simon@brunningonline.net> - 2011-01-31 09:45 +0000 Re: multiple values for keyword argument Ben Finney <ben+python@benfinney.id.au> - 2011-01-30 08:29 +1100 Re: multiple values for keyword argument patty@cruzio.com - 2011-01-31 10:00 -0800 Re: multiple values for keyword argument Ethan Furman <ethan@stoneleaf.us> - 2011-01-29 21:35 -0800 Re: multiple values for keyword argument Jean-Michel Pichavant <jeanmichel@sequans.com> - 2011-02-01 11:27 +0100 Re: multiple values for keyword argument Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-01-30 09:36 +0000 Re: multiple values for keyword argument patty@cruzio.com - 2011-01-29 10:39 -0800 Re: multiple values for keyword argument Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-01-29 23:45 +0000
csiph-web