oldk1331 wrote:
>
> > I prefer a little to avoid parenthesis around one argument
> > function application. But I'm fine with the other option.
> > We definitely want to use space over parenthesis in the
> > case of one-argument-function composition, right?
>
> PS: when using 'error' and 'return', we prefer to use space
> instead of (). IIRC, in the axiom book, using space is prefered
> style. I prefer to use space in REPL too, because it's one
> stroke vs 4 strokes.
"return" is not a function, so parenthesis are not appropriate
here. "error" while theoretically a function also is quite
special. In other cases my main point is clarity: sometimes
omiting parenthesis may cause confusion. Instead of thinking
when confusion is possible I prefer to liberally use
parenthesis. In particular compilcated expression have
more need for parenthesis than simple ones. And composition
falls into complicated group, so more need for parenthesis.
--
Waldek Hebisch
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.