Tag:java
All the articles with the tag "java".
Tag:java
Kotlin Exception Handling: Why Singleton Exceptions are a bad idea
Understand why using singleton exceptions in Kotlin can be a bad practice and how it affects stack traces and debugging in your applications.
Runtime Surprise: Kotlin Breaks Non-Nullability Promise on Developer Cheating in Field Initialization
A cautionary tale about Kotlin's non-nullability. Discover how incorrect field initialization can lead to unexpected NullPointerExceptions at runtime.
Sleepless Concurrency: delay() vs. Thread.sleep()
Explore the difference between delay() and Thread.sleep() in Kotlin. Understand how non-blocking concurrency works from a platform perspective.
Leveraging the Semaphore concept in Coroutines to limit the parallelism 🔀
Explore the concept of Semaphores in Kotlin Coroutines. Learn how to limit parallelism and manage resource access in concurrent programming.
Automate library publishing to Maven Central with GitHub Actions Workflow Dispatch 🤖
Step-by-step guide to automating JVM library publishing to Maven Central using GitHub Actions and Workflow Dispatch for one-click releases.
Providing AssistedInject supported ViewModel for Composable using Hilt
Learn how to provide Hilt ViewModels with AssistedInject to Jetpack Compose Composables for dynamic dependency injection with runtime parameters.
Hide internal members of Kotlin Module from JVM 🔐
Learn how to properly hide internal Kotlin members from JVM to maintain a clean API for Java consumers when developing libraries.






