Graceful Retries In GoFailures are Inevitable Network calls might time out, APIs might be temporarily unavailable, or databases might become unreachable. To handle such transient errors gracefully, implementing a retry mechanism is crucial. This article will guide you thr...Jun 8, 2024 · 4 min readhardiksachan.com
Guide to Sealed Classes in Kotlin for Improved Code OrganizationIn the last article, we covered data classes in Kotlin. We saw how they simplify class creation and make it faster with less coding. Now, let's explore Sealed Classes. Sealed Classes in Kotlin are a specialized form of abstract classes. They limit su...Feb 7, 2023 · 4 min readhardiksachan.com
Kotlin Data Classes 101: Understanding Syntax, Usage and InheritanceWelcome back to this series of articles on Android Development with Kotlin and Jetpack Compose. In the previous article, we discussed the type system in Kotlin along with null safety. In this article, we will take a look at what data classes are, how...Jan 28, 2023 · 7 min readhardiksachan.com
Exploring the Kotlin Type System and understanding Null SafetyWelcome to the fourth article in this series on Android Development. In the previous articles, we covered some basics of Kotlin and OOPS. In this article, we're going to dive deep into Kotlin's type system and learn all about null safety. First, let'...Jan 14, 2023 · 10 min readhardiksachan.com
Kotlin Polymorphism and Inheritance: Essential Concepts for Android DevelopersWelcome back to the third article in this series of Android Development with Kotlin and Jetpack Compose. In the previous article, we covered the fundamentals of object-oriented programming in Kotlin - including classes, properties, methods and object...Jan 4, 2023 · 8 min readhardiksachan.com