[J3] Syntax for enumeration

Malcolm Cohen malcolm at nag-j.co.jp
Tue Oct 22 19:24:07 EDT 2019


I do not think that “tone policing” me emails a week later, after the meeting is over, is a productive use of your time.

 

Cheers,

-- 

..............Malcolm Cohen, NAG Oxford/Tokyo.

 

From: J3 <j3-bounces at mailman.j3-fortran.org> On Behalf Of Ond?ej ?ertik via J3
Sent: Wednesday, October 23, 2019 1:55 AM
To: J3 Mailinglist <j3 at mailman.j3-fortran.org>
Cc: Ondřej Čertík <ondrej at certik.us>
Subject: Re: [J3] Syntax for enumeration

 

Dear Malcolm,

On Tue, Oct 15, 2019, at 4:51 PM, Malcolm Cohen via J3 wrote:
> Guys, we already **have** an ENUMERATOR statement.
> 
> 
> This suggested syntax is IMNSHO completely unacceptable. Having a 
> statement that is a simple list of names is crap. And has no place to 
> put anything useful like an accessibility attribute.
> 
> 
> The keyword ENUMERATOR signals extremely strongly that these are not components!
> 
> 
> In the common case one would write ENUMERATOR precisely once. This is 
> not a burden, let alone a great burden.

I understand what you are trying to say, as we independently (before
you sent this email) arrived at similar conclusions at the Data
subcommittee after discussing the various pros and cons. But I think
we should argue based on technical merits, as we did in the
subcommittee, and your email does not seem to explain why having a
simple statement that is a simple list of names is bad.

Some of the arguments against it are that all statements in Fortran 
start with a keyword, another one is that you can't put an attribute
to it as you mentioned (but you could argue to make ENUMERATOR
optional and only require it when attributes are present).

Regarding the length of ENUMERATOR, we discussed about 10 different
names (such as item, case, list, set, value, ...), but we didn't like
any of them better than ENUMERATOR.

In the end we arrived at similar conclusions as you did in this
particular case, but please let's try to keep the discussion
technical, as having a good explanation of arguments will have the
effect of moving the conversation forward.

Ondrej



Disclaimer

The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. Please see our Privacy Notice <https://www.nag.co.uk/content/privacy-notice>  for information on how we process personal data and for details of how to stop or limit communications from us.

This e-mail has been scanned for all viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20191023/d5734b63/attachment.html>


More information about the J3 mailing list