One of the benefits of compiled languages over the non-compiled ones is ability to catch bugs at compile time. However, developers are still facing problems resulting from bad configuration or bad environment.
Wouldn't it be nice to turn at least some runtime exceptions into startup ones? In this lecture I'll share with you the idea of aggressive validation of configuration and environment at startup in order to avoid any errors later down the line.
I'll also showcase a simple solution for Spring Boot developers in form of a simple open-source library.