IMO localization error still gives little hint to un-initiated users.Better
it keeps the domain error and can provide a secondary explanation message,
eg Public assignment to a name that has been privately assigned is an error
without the need of consulting the manual. The interpreter should know
exactly the detailed reason for failure.

On Tue, Jun 16, 2020 at 12:23 AM Arthur Anger <[email protected]> wrote:

> I recently spent some time puzzling over a syntax error in an "obviously"
> correct phrase.  It took some time to recognize that the error lay in
> attempting Global assignment to a Local variable.
>
> It's not only for newcomers that it would be helpful to have that
> discrepancy reported specifically as a Localization error.  I suppose that
> there may also be some conditions meriting a Locale error, dealing with
> mis-specification or mis-application of locale, a mostly invisible aspect
> of execution.
> --AA
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to