Open alelom opened 4 years ago
As discussed in the Error Management Workshop (notes here).
Nullable primitive types would allow for an additional mechanism for better error handling. Instead of returning a boolean or an empty data in case a method fails, we could return a null.
Description:
As discussed in the Error Management Workshop (notes here).
Nullable primitive types would allow for an additional mechanism for better error handling. Instead of returning a boolean or an empty data in case a method fails, we could return a null.