The state of logging in Java

The State of Logging in Java

Nicolas Frankel Developer Tips, Tricks & Resources

When developing an application, chances are that it won’t perform as expected on the first run. In order to check what went wrong, developers in general use debuggers. But experienced developers know that if it happens in production, most debuggers won’t be available. Hence, they pepper the source code with logging statements to help their future self debug the next …

The power of Optional

Is Java Optional Only Smoke and Mirrors?

Nicolas Frankel Developer Tips, Tricks & Resources

There are a lot of misconceptions in the software development world. Today we are going to address this one: “Java 8, for example, introduced the Optional class. It’s a container that may hold a value of some type, or nothing. In other words, it’s a special case of a Monad, known in Haskell as the Maybe Monad. You can now …