Coroutines and Java Synchronization Don’t Mix

Suppose you’ve got a critical section of code, meaning only one process should execute it at a time. In the Java world, one solution is to slap synchronized on the method and call it a day. In Kotlin, we use @Synchronized to get the same effect: repeat(… Read more


A Java Exceptions must read guide

I think the first thing we should discuss is: what is an exception. In a short definition: an exception is a notification of an execution error occurrence. What kind of errors can occur: programmin…

Read more »