3 ms·
Why not write it as in lisp as: (sin (cos 10.4))
by __rompy 7y ago
Why not write it as in lisp as:
(sin (cos 10.4))
- lispm 7y agoThe question was for alternatives to code that reads inside->out. I personally don't have a problem with it, but I can see that many languages have a more procedural/imperative top->down control flow by default. A Java programmer might prefer that, where a Lisp programmer will be trained to alternate while reading between inside->out and outside-in in code.
- ngcc_hk 7y agoStill using those long expression is unfair A(b(c)) are 2 function calls. Hence (A (b c)) is the fair abd equal expression. And you inside out whilst valid and in fact easier to read (as more normal) would need precedence rule in other scenario. But those examples just not right.