Ivan Karabadzhak’s Post

Friday brings #Python Let's talk about Protocol today. It allows you to have "duck typing". If an object has the required fields/methods, then the type checker keeps silent and no inheritance is required. It's a powerful thing to build interfaces. Take a look.

  • No alternative text description for this image

To view or add a comment, sign in

Explore content categories