Kotlin Weekly - Kotlin Weekly #195

 
 

ISSUE #195

26th of April 2020
 

Hello Kotliners. Last week of April, and looking forward to a better May. Here in Germany, the restrictions are softening this week - we hope that wherever you are, you stay healthy and fit. Enjoy our selection of links for the upcoming week.



Articles


Item: Consider aggregating elements to a map
Coming from one of the chapters of Effective Kotlin, one mini-article on Kotlin tips and tricks: when should we consider aggregating elements to a map.
blog.kotlin-academy.com

Coroutines and exceptions: things to know
This article goes through the basics of the Coroutines and their exceptions that we should know before working with them.
www.rockandnull.com

Deep recursion with coroutines
Kotlin Coroutines are typically used for asynchronous programming. However, the underlying design of coroutines and their implementation in Kotlin compiler are quite universal, solving problems beyond asynchronous programming. In his latest article, Roman Elizarov takes a look at how to use coroutines to write deeply recursive functions.
medium.com

The Either data type as an alternative to throwing exceptions
Not exclusively a Kotlin article, but here the author explores the use of Either as an alternative to throwing exceptions.
www.thoughtworks.com
 


Sponsored

Conference for Kotliners - a fully digital event on the 5th of June
Join this global, fully digital, all-day conference about everything Kotlin, with 2 tracks packed with speakers from JetBrains, Google, Touchlab, Twilio, 47 Degrees and many more. Be part of the digital experience, with the perks of a regular conference, delivered directly to your screens. It doesn’t matter if you just heard about the language, are an expert coder, or work on the ecosystem - secure your live stream for the hottest digital Kotlin event of the summer.
kotliners.com



Android


Writing Unit Tests efficiently in Android with Spek
Nice article by Rivu Chakraborty, where he showcases how should we add Spek tests to our Android app.
www.rivu.dev

Sealed classes + RecyclerView with headers
We have seen before articles where sealed classes can be useful - for instance, in errors. Patxi Bocos has written an article showcasing how they are particularly helpful when we are working with Recycler Views and headers.
medium.com



Libraries


Bazel rules for Detekt
In this Git repository, you will find Bazel rules that you can apply when you are working with Detekt.
github.com
 

Contribute

We rely on sponsors to offer quality content every Sunday. If you would like to submit a sponsored link contact us.

If you want to submit an article for the next issue, please do also drop us an email.

Thanks to JetBrains for their support!

Twitter
Facebook
Website
Copyright © 2020 Kotlin Weekly, All rights reserved.
You are receiving this email because you opted in at our website.

Want to change how you receive these emails?
You can or

Email Marketing Powered by Mailchimp

Older messages

Kotlin Weekly #194

Sunday, April 19, 2020

ISSUE #194 19th of April 2020 Hello Kotliners. Here comes our selection of articles for the upcoming week. We hope that you are able to learn one or two new things this weekend. Enjoy. Announcements

Kotlin Weekly #193

Sunday, April 12, 2020

ISSUE #193 12th of April 2020 Hi Kotliners! This is an uncommon Easter holiday for many of us, but that doesn't mean that we give up on the circumstances. Online learning is, in fact, one of the

You Might Also Like

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your