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 timbit42

7 hours ago

The main difference is Logo has fixed arity and so doesn't need parens. Lisp has variable arity and so needs parens.

So in Lisp you can say:

> (+ 1 2 3)

and it will add all the numbers together. In Logo, you have to say:

> 1 + 2 + 3

0 comments

timbit42

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities