Java
The concept of map/filter/reduce is a cornerstone of any functional programming. Data pipelines consist of one or more intermediate operations that represent one of these three methods.
Java is often criticized as being too verbose. One aspect contributing to this characterization is the requirement to specify every type explicitly, which leads to a lot of additional noise.
java.util.Locale is used to format dates, numbers, currency, and more. But with JDK 9, a few changes were introduced, leading to subtle (and sometimes not so subtle) bugs.
OOP allows us to nest classes that are logically bound together, to increase encapsulation, for more concise and maintainable code. Here’s a quick, non-deep-dive overview of the 4 types of nested classes in Java.
Dealing with Exceptions in Java is a must, and functional programming doesn’t make it easier. Let’s take a look at the available options.
Almost every developer knows the phrase “premature optimization is the root of all evil”, coined by Donald Knuth in 1974. But how are we supposed to know what is worthy of being optimized?