|
|
|
|
|
by wlll
2043 days ago
|
|
Wether the programmer chose to do something is a large part of the issue here. An explicit return says "I chose to do this". An implicit return in these examples says "There may or may not have been a choice made" and that's the problem. If you rely on the assumption that a choice was made, you add risk. |
|