Python Worst Practices

Chris Angelico rosuav at gmail.com
Wed Feb 25 22:17:12 EST 2015


On Thu, Feb 26, 2015 at 2:05 PM, Dave Angel <davea at 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



More information about the Python-list mailing list