16th
January
2022
Don’t be afraid of IF statements
For many years, Java language lacked reasonable support for functional programming. When lambdas appeared almost 8 years ago, it was a huge shift for everyone which paved the way to many of today’s main libraries and tools. However, soon after that I noticed a strange effect. Some developers were so impressed with new Java API-s […]
9th
January
2022
On keeping passwords in char arrays in Java
In the company I worked a couple of years ago, we were building an internal Java framework for creating configuration applications. One day we received a feature request to support storing passwords in character arrays instead of strings, motivated by security reasons. The reporters wanted to clear the memory in a controlled way instead of […]