Tag: Handling

Learn Simple Android Compose Flow Lifecycle Handling With Counter

Sometimes when we try to understand Android Lifecycle, we crack our heads, wondering what scenario they are really important to tackle. Not understanding them often caused us to miss out on using them appropriately. Here, I came up with a very simple design, i.e. a counter, that helps provides va...

Handling Android App Links

When a user clicks on a link, they have just one thing in mind, they want to see the content which they wish for. Now there are 3 diff types of links, Deep link, and HTTP/HTTPS scheme URL. A deep link URL is something where you have defined some prefixes and schema in your Android Manifest fil...

Handling Events in React.js: An overview and examples

In React, event management closely aligns with traditional HTML practices, with a key distinction being the naming of events. React follows a camelCase naming convention as opposed to the all-lowercase convention in HTML. For instance, the HTML onclick event becomes onClick in the React environment....

Typed Error Handling in Kotlin

Error handling is not rocket science. It is simple, but not always straightforward. This article studies some popular logical error handling patterns in Kotlin programming language. We will look into practical examples and the impact they might have to the cognitive complexity and maintainability of...

Best practices for error handling in Kotlin

Every programming language must provide error handling, which holds true for Kotlin in the context of Android development. Kotlin has powerful features that make handling errors easy and effective. One of the most significant advantages of Kotlin’s error handling is its ability to handle ex...

Swift Error Handling Patterns: Try, Catch, and More

Error handling is a critical aspect of writing robust and reliable software applications. Swift, Apple’s powerful and modern programming language, provides a comprehensive error handling mechanism that enables developers to handle errors gracefully and effectively. In this article, we’ll...