Are early exits worth using in small functions?
In a C++ function that finds the maximum array value, I use continue when the current element is not greater than the maximum, then update the maximum otherwise.…
In a C++ function that finds the maximum array value, I use continue when the current element is not greater than the maximum, then update the maximum otherwise.…