New Issue: Should the Reflection function numFields() be parenless?

17985, "dlongnecke-cray", "Should the Reflection function numFields() be parenless?", "2021-06-25T17:40:17Z"

Should the Reflection function numFields() be parenless?

This depends on #17984.

Many times throughout the standard modules or builtin types, methods
are made parenless when they seem more like an attribute of a type
than a method on it.

Some examples would be:

  • range.stride
  • domain.rank
  • numLocales (Actually a config const, but still)

Should numFields() follow suit and drop the parens? It seems like a
good candidate as a statically computed value.

And while we are here, are there any other methods in the Reflection
module that could be considered candidates for the same?