Systems | Development | Analytics | API | Testing

Kotlin

Mastering Exception Handling in Kotlin: A Comprehensive Guide

In programming, exception handling is an essential concept to help developers catch and manage errors in a way that will support the application’s architecture robustness. An Exception is an event which disrupts the normal flow of your Android application. It can occur if a user provides an invalid input, or there are runtime errors, such as division by zero. Exceptions happen when there are unexpected conditions, like IOError file reading failed etc.

Spring Into Confluent Cloud with Kotlin - Part 2: Kafka Streams

After a short break, we’re back with Part 2 of this series on Spring Framework, Confluent Cloud, and the Kotlin language. Many organizations that write applications and microservices for the JVM have chosen Spring Framework, leveraging the many libraries available for features such as REST services, persisting data to a variety of datastores, and integration with messaging. These organizations have existing investments in building, testing, deploying, and monitoring applications using Spring.

Understanding Kotlin Generics: A Complete Guide for Developers

Kotlin Generics are a way to use generics in Kotlin that have type parameters specified to their usage. This powerful tool defines code components so that they will work with any data type in a flexible and reusable manner – and the main advantage of Kotlin Generics is how they are statically-typed.

Kotlin vs Java - A Comprehensive Comparison

Kotlin was built to replace Java. Or at least, supersede it for a wide range of Android development tasks. Released by JetBrains in 2016, it is designed to address some of Java’s drawbacks and provide a smoother, faster alternative for devs everywhere. So really the question in the title is redundant, right? Kotlin is just better, surely? Well, actually it’s much more nuanced than that.

Spring Into Confluent Cloud With Kotlin-Part 1: Producers and Consumers

Hey, you! Yeah, you! The puzzled-looking Spring Boot developer, scouring the web for a guide on integrating your microservices with Apache Kafka on Confluent Cloud with Stream Governance. Admit it, you’ve been Googling nonstop for the past hour and all you’ve found are examples using StringSerializer/StringDeserializer with not even the slightest mention of "schema registry-aware" serialization methods. And I bet the examples you found are implemented in Java.

Master Kotlin Enums: A Comprehensive Guide

In Kotlin, an enum (short for enumerator) is a special kind of predefined Kotlin data type used to store and represent a fixed set of named constant values, often simply referred to as constants. Each constant is an object, meaning they can have properties and methods, these are enums and are useful for representing elements that are fixed (for example days of the week) and don’t change.

Kotlin Unit Testing Guide for Android Developers: Best Practices & Techniques

Unit testing is one of the most powerful features of Android app development, saving us crucial time and reducing overall project cost and allowing developers to embrace test driven development With unit testing, we take an individual slice of code and test it to our requirements. If it passes, then the slice of code is pushed to the repository to merge with the existing code. If it fails, the developers fix the error and retest until it passes.

How To Create Maintainable #Selenium Tests with #Kotlin | Attila Fazekas | #automationtesting

In this instructive video, Attila Fazekas delves into the realm of Selenium testing with Kotlin, offering key takeaways to enhance the creation and maintenance of robust test suites. Learn the art of leveraging idiomatic Kotlin to craft Selenium tests that are not just effective but also maintainable and easy to comprehend.

Efficient Android Development with Kotlin Coroutines: Building a Recipe Finder App

In Android app development, creating a smooth, responsive user experience is essential. Kotlin coroutines help developers achieve this by streamlining and speeding up the app’s background operations. Kotlin coroutines significantly simplify the way we write asynchronous code and they allow any Android developer to easily run a background task or an asynchronous task.

Kotlin Arrays Simplified: The Definitive Guide

An array is like a box with compartments, where you can store a set number of items of the same kind. Arrays play a crucial role in Kotlin, helping us hold many items together. They allow us to send multiple values to a function easily, or make various changes to the data. There are various different forms of arrays in Kotlin, including the object-type array, represented by something called the array class.