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, facilitating 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

Managing Dependency Versions in Gradle When developing a software, you rarely write all the code from scratch. Usually, libraries or frameworks are used, allowing developers to use numerous features without building everything from the ground up. Mismanagement these dependencies can lead to broken build or application, so it is important to manage them properly. The…

Read More

Secure Media Contents with CloudFront Signed URL

CloudFront CloudFront is AWS’s Content Delivery Network (CDN). A CDN is a special system designed to deliver static content more efficiently. If all content is served from a specific server, the physical distance between the client and that server would increase the latency involved in delivering the content. However, a CDN like CloudFront can deliver…

Read More