Introduction to the Kotlin Language

If:

  • You are a Java developer tired of its verbose syntax
  • You are a developer who wants to write less code so you can leave work on time ;))
  • You are a team lead writing post-mortems for production bugs caused by code review fatigue
  • You believe in the philosophy of less code, less bugs

Then Kotlin can definitely help you ;))

Custom Exception

In the article Clean Code with Exception, I discussed how using Exception can make code cleaner. However, it was missing a complete practical example and guidance on using custom Exception to make exceptions more meaningful and informative.

Clean Code with Exception

When I first started learning Java, the thing that frustrated me most was Exception. Every little thing seemed to demand a try/catch block (I’ll write a more detailed post on this later) and made my code look dreadful. But after spending time understanding it, I realized that exceptions are actually quite neat in programming.

Why? Read on! :v

Benchmark with JMH and Gradle

JMH stands for Java Microbenchmark Harness. JMH is a tool that makes benchmarking more accurate and straightforward.
Benchmarking is extremely useful for high-performance applications, helping you choose the algorithm or library that delivers the best speed.