3 ms·
The argument against this is usually one return statement is preferred.
by winrid 7y ago
The argument against this is usually one return statement is preferred.
- maynman 7y agoYep, that's why I chose to implement it that way. I generally prefer single return statements. Plus my day job enforces it as part of the coding convention, so force of habit too haha.