The Interface Gallery: Abstract Base Classes and Protocols
Timothy had built a library system with multiple storage backends—database storage, file storage, cloud storage. Each backend had the same methods (save_book, load_book, delete_book), but nothing enforced this contract. Developers kept forgetting to ...
aaron-rose.hashnode.dev13 min read