Hacker News new | ask | show | jobs
by eyeface 4446 days ago
If we're talking about returns, then C/C++ would behave the same way. The second return is unreachable.

A duplicated line that isn't idempotent and that doesn't jump out of the current scope would be problematic.