Oct 28, 2024
With more clever design you can avoid both null and optional - fail fast if no recovery (default value) is possible, set default values as early as possible, wrap objects that return null so that they don't return null.
https://legacyfreecode.medium.com/null-pointers-85d7361109cb