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

Comment by amelius

11 hours ago

You need more than if for Turing completeness though.

5 comments

amelius

Reply

thwarted  5 hours ago

You need conditionals and loops. Recursion counts as looping.

alexdns  11 hours ago

Correct. You need at least 2 ifs.

  • spooky_deep  10 hours ago

    You need unbounded recursion no?

    • dotancohen  9 hours ago

      That's actually what two ifs could be.

      1 reply →

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities