Page 1 of 1

What are the disadvantages if use return keyword to return error codes?

Posted: Wed Jul 13, 2022 7:52 pm
by answerhappygod
a) You have to handle all exceptional cases explicitly
b) Your code size increases dramatically
c) The code becomes more difficult to read
d) All of the mentioned