Inheritance in OOP is Evil

Inheritance is a fundamental concept in object-oriented programming (OOP). It allows creations of a new class based on an existing class, promoting polymorphism and code reuse. However, while inheritance can be powerful, it is also almost always wrong. Let’s discuss the pitfalls of inheritance with some simple example. What is Inheritance? Inheritance allows a class…

Read More

Gradle Version Catalog – New Way to Manage Dependencies

Table of Contents Managing Dependency Versions in Gradle When developing software, you rarely write all the code from scratch. Usually, libraries or frameworks are leveraged, allowing developers to use numerous features without building everything from the ground up. These codes can face various issues, such as deprecated features, regressions, or version conflicts between dependencies. Hence,…

Read More