c# - good practises null object return -
i have question c# programming language, when method returns object, , example i'm forced return null, not clean code, best practise handle this? dont want return null.
in case signal "failed create object" c++ class constructs throws exceptions purpose.
some languages / projects prefer use exceptions more keep happy-pass happier while others may not.
Comments
Post a Comment