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 flohofwoe

1 year ago

Well, if you use recursive code, you better know what you're doing. With or without tail call optimization.

1 comment

flohofwoe

Reply

eru  1 year ago

Loops are just a special, limited case of recursion.

(And only necessary in languages that have trouble implementing function calls properly.)

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities