Talk Python To Me cover image

#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

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app