Y
Hacker News
new
|
ask
|
show
|
jobs
by
Symmetry
188 days ago
The rule of thumb I use is to only have one return after modifying state that will persist outside the function call.