Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by Mikhail_Edoshin

6 months ago

The C language construct for that is 'goto'.

2 comments

Mikhail_Edoshin

Reply

coldtea  6 months ago

Yeah, but the parent wants a non brain-damaged too-general construct

  • Mikhail_Edoshin  6 months ago

    What if loops are a design mistake?

    Look at C: it has 5 loop-related keywords (4.5; 'break' is two-timing in 'switch') yet it is still not enough.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities