
#25: Effective Python
Talk Python To Me
00:00
How to Use Keyword Arguments in Python Functions
Using keywords for optional parameters is really important. You want to make it clear that this is the numerator and this is the denominator. In Python two, you can't say these arguments can only be passed by keyword. It breaks your ID makes it harder to understand the documentation. And yeah, maybe there's a better way to design helper classes in python.
Play episode from 26:31
Transcript


