structural subtyping

Definitions are in Persian for now. Read in Persian

Articles with this concept

  1. Python

    Python Protocols: Leveraging Structural Subtyping

    Real Python explains how Protocol enables structural subtyping and static duck typing in Python. The excerpt distinguishes internal protocols from Protocol-based type contracts and introduces compatibility based on methods and attributes rather than inheritance.

    realpython.comAdded