by ImprobableTruth · 4y ago · 0 comments
Optional is convention based and @NonNull just throws the runtime exception at a better location, so in my experience neither come remotely close to providing null safety.
This is the exact same thing that languages with null-safety have “in-built”. Sure, language support is nice, but it is here and is working