Hacker News new | ask | show | jobs
by pmelendez 4851 days ago
I don't see too much gain doing that though, and there are cases where using indentation would look odd. For instance:

  ((foo 1 2) 3)

  ((bar 1) 2)
would be

  foo 1 2
          3
  bar 1
        2
1 comments

Not at all. It wouldn't be mandatory.

May I propose:

    (foo 1 2) 3
    (bar 1) 2
Then it misses the point, don't you think? There is not too much gain between your version and original one. On the other hand, we are used to the use of parenthesis in formulas and people don't complain too much on that.

I think the main annoyance is not the syntax per se but the fact that calls are way more nested than in an imperative language counterpart.

No, there is plenty to gain whe you have stuff that's nested 3 or 4 levels deep.
You don't need to if you don't want to. It actually kinda forces you to break the problem in smaller pieces or use macros.