8 ms·
I’ve heard this before, and I can see how some cases (returning from random points in deeply nested loops or something) could cause issues, but in my experience
by taneq 3y ago
I’ve heard this before, and I can see how some cases (returning from random points in deeply nested loops or something) could cause issues, but in my experience early returns at the start of a function for error handling make things far simpler and more explicit compared with other options.