[Jprogramming] Programming Digest, Vol 176, Issue 17
Hauke Rehr
hauke.rehr at uni-jena.de
Fri May 22 17:22:41 UTC 2020
If you need to define your own grammar, use perl.
Code is way more often read than written so it’s
best not to have different flavours of language
syntax floating around.
You wouldn’t want to read alias definitions
in order to be able to understand someone’s
code nor would you want to refactor your
code everytime you ask for help.
No, it just doesn’t work.
Am 22.05.20 um 19:16 schrieb Arthur Anger:
> I have to admit that 'continue' is used with the same meaning in some other languages. I have used other languages so seldom in the last decade that it was easy to question it. I also continue to have a feeling that J is a pathfinder or pacesetter in the programming field, so that we ought to keep questioning the "good old ways" of doing things.
>
> We could consider:
> --Introducing an alternate control word with identical meaning, or
> --introducing a new feature to enable the definition of arbitrary synonyms for control words.
>
> (I don't think 'restart' is sufficiently unambiguous, either: I would take it mean repeating with the first values.)
>
>> On 22May 2020, at 8:00 AM, programming-request at forums.jsoftware.com wrote:
>>
>> 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
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
----------------------
mail written using NEO
neo-layout.org
More information about the Programming
mailing list