Jay|Dyalog wrote:I haven't noticed any myself
Perhaps you don't combine it with
"techniques whose sole purpose is to avoid both assignment and termination". I should probably explain why I am so opposed to the trailing colon's use to avoid assignment. The programming reference guide contains:
Multi-Line Dfns
The single expression which provides the result of the dfn may be preceded by any
number of assignment statements. Each such statement introduces a name which is
local to the function.
The technique I'm questioning has two essentials:
the expression must return zero which is not obvious unless coded as one ofand it must end in a colon, possibly made even less conspicuous by a trailing comment.
Thus when visually scanning a dfn we can easily be beguiled by such lines as
calledFunction argument: ⍝ comment
that look very much as though they must supply the dfn's result. And I fail to see how the alternative
z←calledFunction argument ⍝ comment
can be
"undesired for aesthetic reasons" when it's merely a standard expression as described in the documentation.