4 ms·
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
by pmelendez 14y 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
- TylerE 14y agoNot at all. It wouldn't be mandatory. May I propose: (foo 1 2) 3 (bar 1) 2
- pmelendez 14y agoThen 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.