The following function demonstrates a coworker's coding style:
def one_week_after(date=datetime.date(2011,3,8)):
return date+datetime.timedelta(days=7)
Every argument of every function they write has a default value, whether there's a natural default or not.
Is there something like PEP 8 that I can use to explain why this is considered a bad practice? (And certainly not pythonic)