[Solved] good practises null object return [closed]


In case to signal “failed to create object” C++ class constructs throws exceptions for this purpose.

Some languages / projects prefer to use exceptions more to keep happy-pass happier while others may not.

solved good practises null object return [closed]