Recent Posts

Resource Cleanup

less than 1 minute read

Using try, catch and finally blocks for resource cleanup is tedious and error-prone. In fact, Kotlin has a library functions that could help us to manage cle...

Nothing

less than 1 minute read

What is Nothing in Kotlin? Does it even exist? A Nothing return type indicates a function that never returns. This is usually a function that always throws a...

Check Instructions

1 minute read

Check Instructions are like assert - they act like a constraints that must be met before it could proceed. Usually, they are used to validate function argume...