News for hackers. Stuff that matters.
Re:Learning APL by seppel on Saturday August 07, 2021 @07:11AM (#28097659)
But it is the switching from infix operators to prefix operator that is making the second example less readable (and the implicit precedence of the operators). Writing it as

    (a times (b plus c)) equals ((a times b) plus (a times c))

would be a fair comparison, which is much more readble than

    =(*(a, +(b, c)), +(*(a, b), *(a, c)))
Re:Learning APL by yiyus on Saturday August 07, 2021 @07:18AM (#28097686)
Fair enough, the change from infix to prefix was misleading. But do you (or anyone) find

    (a times (b plus c)) equals ((a times b) plus (a times c))
easier to read than

    a*(b+c) = a*b + a*c

?