Python Protocols: Combining Duck Typing with Type Hints for Better Coding
Python's dynamic nature and support for duck typing have long been praised for their flexibility. However, as codebases grow larger and more complex, the benefits of static type checking become increasingly clear. But how can we reconcile the flexibi...
samkeen.dev4 min read