Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #86466
| References | <mclca6$iie$1@ger.gmane.org> <mcltqc$j0b$1@ger.gmane.org> <54EE8D63.2050208@davea.name> |
|---|---|
| Date | 2015-02-26 14:17 +1100 |
| Subject | Re: Python Worst Practices |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.19235.1424920639.18130.python-list@python.org> (permalink) |
On Thu, Feb 26, 2015 at 2:05 PM, Dave Angel <davea@davea.name> wrote: > On 02/25/2015 08:44 PM, Mark Lawrence wrote: >> >> On 25/02/2015 20:45, Mark Lawrence wrote: >>> >>> http://www.slideshare.net/pydanny/python-worst-practices >>> >>> Any that should be added to this list? Any that be removed as not that >>> bad? >>> >> >> Throwing in my own, how about built-in functions should not use "object" >> as the one and only argument, and a keyword argument at that. >> > > def marry(object = False)... > > > if anybody has any cause to object, let him speak now... Python. Python is what bwings us togethar, today. And def, twue def, will make your argument into a keyword argument that will fowwow you forevah and evah. So tweasure your keyword arguments... ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Python Worst Practices Chris Angelico <rosuav@gmail.com> - 2015-02-26 14:17 +1100
csiph-web