-
Mastering Polymorphism with Abstract Classes: Avoiding Inheritance Pitfalls
Learn about the benefits and drawbacks of using inheritance to define related classes that can be used interchangeably. Discover how using abstract classes can help ensure a consistent implementation, catch implementation errors early and avoid runtime errors.
-
Smarter Value Storage: Data Classes
Dictionaries have no type hinting, don’t do autocomplete, and can’t have custom methods. Data classes on the other hand…