Java is missing various “hot” features from languages like Scala or Kotlin, but luckily some of them can be recreated using existing features – sealed…
Author: Grzegorz Piwowarek
I am a passionate polyglot software engineer, trainer, and international conference speaker who cares about quality, craftsmanship, clean code and getting things done. Developing software for telco companies.
Besides coding, I am a professional yo-yo player and a guitar player in a progressive metal band.
Since there was some interest in seeing the same implemented in Java, in this article, we’ll see how we can implement the same Hamming encoder/decoder using Java and the Vavr library.
Previous articles from the series:
In Java, the potential of lazy evaluation is quite neglected (actually, at the language level, it’s pretty much limited to the implementation of minimal evaluation) – advanced languages like Scala, for example, differentiate between call-by-value and call-by-name calls, or introduce dedicated keywords like lazy.