Recent Posts

When expression

1 minute read

A large part of computer programming is performing an action when a pattern matches.

Data class

1 minute read

One of main motivation of Kotlin is to reduce repetitive coding. One that many of us have spent a significant amount of time and effort is the class mechanis...

Extension function is a magic

less than 1 minute read

This is one of my most favorite features of Kotlin - Extension Function. Imagine this. You are using a 3rd party library - String that have all the things th...

Property Accessor

less than 1 minute read

If you are new to Kotlin, there is something in property accessor that you might find it interesting. There are two methods - get() for getter and set() for ...

Map in Kotlin

less than 1 minute read

So we have seen the wonderful Set. Next, we are going to look at Map.

Why package

less than 1 minute read

A fundamental principle in programming is the acronym DRY: Don't Repeat Yourself.