3 ms·
But that requires you to have the output assigned to a variable even without valid input..
by epse 7y ago
But that requires you to have the output assigned to a variable even without valid input..
- quadcore 7y agoThis whole guard/validation thing is a fabrication of the mind. Because early returns do returns something on an invalid input. If anything, those validations should be asserts/exceptions.