Hacker News new | ask | show | jobs
by glassx 5019 days ago
The article mentions that as well: "Backward gotos could be ok when it makes sense that your error case would repeat the last iteration"

Btw, in Ruby there are two keywords that are basically backward gotos: redo and retry.

1 comments

That's the exact case where I saw it in the PostgreSQL code. Re-doing join pruning when a join was eliminated.