2 ms·
Did you immediately notice the bug in my above code? If not, hopefully you get my point. Compared to array.sum() was the above code more or less clear? I
by stouset 8y ago
Did you immediately notice the bug in my above code? If not, hopefully you get my point.
Compared to
array.sum()
was the above code more or less clear? Is it more or less prone to bugs? When reading, which code will you have a quicker understanding of the intent?
And if you did notice the the first bug, did you notice the second bug?
- kortex 8y agoWell played. I noticed neither until you pointed them out. Certainly would have missed it in a code review.