Reputation
Next privilege 125 Rep.
Vote down
Badges
2
Newest
 Critic
Impact
0 people reached

  • 0 posts edited
  • 0 helpful flags
  • 52 votes cast
Nov
18
comment Is it better to return NULL or empty values from functions/methods where the return value is not present?
"The problem with using null is that the person using the interface doesn't know if null is a possible outcome, and whether they have to check for it, because there's no not null reference type." Since reference types can be null, can't you always assume that null is a possible outcome?
Sep
16
awarded  Critic
Sep
16
awarded  Supporter