Today we’re about to learn more about Kotlin syntax and some of cool features it has. BTW: if you didn’t read first part of my journey, check it out here.
Let’s start with some good stuff Kotlin has out-of-the-box:
fun Date.isMonday() = day == 1
val monday = date.isMonday()
In example above we added method
Date class. The…