I always thought the 'word.' control structures were
meant to be c syntax lookalikes in order to tell you
beware! you’re not writing idiomatic J here

that’s why I thought they were chosen that way
and if so, I’d agree

Am 22.05.20 um 00:05 schrieb Henry Rich:
Rejected.  I agree that 'continue' is not the best word.  I would have said 'restart', but only if I were Dennis Ritchie defining C; since then the use of 'break' and 'continue' is so universal as to quell any desire for improvement.

Henry Rich

On 5/21/2020 4:08 PM, Arthur Anger wrote:
The control word 'continue.' may easily be construed in each of three different ways, to go to: --the next line in the B-block, without finishing a line it's embedded in (useful perhaps as a debugging insertion);
--the 'end.' of the for.-group, and its next iteration;
--past the 'end.' of the for.-group, to stop iterating.

I propose that 'continue.' be replaced by the less ambiguous 'iterate.'
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm



--
----------------------
mail written using NEO
neo-layout.org

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to