To write readable and maintainable code, follow a few simple rules about argument ordering.
Tip 1: Optional arguments go last
When a method takes several arguments, and some of them have default values, make sure to put the optional ones at the end.
Take this method definition:
def foo(a,