DEV Community

Discussion on: How to Make Your Reviewer Cry Using Java Optional

Collapse
 
dante0747 profile image
Majid Abarghooei

Yes, Andreas, you're right. Unfortunately, accepting null references is a bad practice that I usually face. In that case, especially when you're dealing with a framework, I think it's inevitable.