Abstract Base Classes and Protocols: What Are They? When To Use Them?? Lets Find Out!
In Python there are two similar, yet different, concepts for defining something akin to an interface, or a contract describing what methods and attributes a class will contain. These are Abstract Base Classes (ABCs) and Protocols.
Until the advent of...
jellis18.hashnode.dev13 min read